From 55f03415253dc6614a9a1cabb90aeae22f681234 Mon Sep 17 00:00:00 2001 From: zzx Date: Wed, 15 Mar 2023 16:20:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 ++++---- docker-compose.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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: