diff --git a/.drone.yml b/.drone.yml index 3f81298..d366071 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ] diff --git a/docker-compose.yml b/docker-compose.yml index e3f6827..ba0e938 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: