修改
continuous-integration/drone/push Build encountered an error Details

master
zzx 2023-03-15 16:20:47 +08:00
parent 442a64b451
commit 55f0341525
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
kind: pipeline
name: linear-dreamwebsite-front-pipeline
name: linear-wctdreamwebsite-front-pipeline
platform:
os: linux
@ -105,15 +105,15 @@ steps:
key:
from_secret: SSH_KEY
source: ./source/
target: /wwwroot/dreamwebsite-front
target: /wwwroot/wctdreamwebsite-front
include: []
exclude: []
script:
- cd /wwwroot/dreamwebsite-front
- cd /wwwroot/wctdreamwebsite-front
- ls -al
- docker-compose down
- docker-compose up --build -d
- docker ps | grep dreamwebsite-front
- docker ps | grep wctdreamwebsite-front
when:
status: [ success ]

View File

@ -9,11 +9,11 @@ services:
cap_add:
- ALL
restart: always
container_name: dreamwebsite-front
container_name: wctdreamwebsite-front
expose:
- 3000
ports:
- 3001:3000
- 3004:3000
environment:
- TZ=Asia/Shanghai
volumes:
@ -24,7 +24,7 @@ services:
working_dir: /wwwroot
networks:
default:
ipv4_address: 172.20.0.4
ipv4_address: 172.20.0.5
#docker network create --driver=bridge --subnet=172.20.0.0/16 --gateway=172.20.0.1 net-website
networks: