update
continuous-integration/drone/push Build was killed Details

This commit is contained in:
周炽键 2021-06-06 12:31:11 +08:00
parent 0f14187024
commit 1b32c0c9b8
2 changed files with 9 additions and 3 deletions

View File

@ -49,11 +49,16 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker login -u $DOCKER_REG_USERNAME -p $DOCKER_REG_PASSWORD https://docker.zcj.plus - docker login -u $DOCKER_REG_USERNAME -p $DOCKER_REG_PASSWORD https://docker.zcj.plus
- docker-compose up -f /drone/src/docker-compose.yml -d - docker-compose up -d
- docker-compose logs -f - docker-compose logs -f
- docker cp frpc.ini fe_frpc:/etc/frp/frpc.ini
- docker restart fe_frpc
volumes: volumes:
- name: frpc
host:
path: /mnt/d/ci_volumes/frpc_config/fe_drone.ini
- name: dockersock - name: dockersock
host: host:
path: /var/run/docker.sock path: /var/run/docker.sock

View File

@ -9,10 +9,11 @@ services:
frpc: frpc:
image: snowdreamtech/frpc image: snowdreamtech/frpc
container_name: fe_frpc
networks: networks:
- feadmindroneci - feadmindroneci
volumes: # volumes:
- ./frpc.ini:/etc/frp/frpc.ini # - ./frpc.ini:/etc/frp/frpc.ini
depends_on: depends_on:
- web - web
restart: always restart: always