adjust docker compose deploy
continuous-integration/drone/push Build is failing

This commit is contained in:
jianxin committed 2024-01-16 21:48:32 +08:00
1 parent dfcc86df43
commit 13991afe00
3 files changed
+13 -9

No files matched your search

+4 -4
View File
@@ -47,10 +47,10 @@ steps:
script: script:
- cd /home/docker/office-xbot-feishu - cd /home/docker/office-xbot-feishu
# - sudo sed -i "s#development#production#g" .flaskenv # - sudo sed -i "s#development#production#g" .flaskenv
- sudo docker compose down - docker compose down
- sudo docker compose rm - docker compose rm
- sudo docker compose pull web - docker compose pull office-xbot-feishu
- sudo docker compose up -d - docker compose up --env-file .env -d
trigger: trigger:
+8 -4
View File
@@ -1,6 +1,10 @@
APP_ID = "cli_a5110cd1da70900b" # Docker Compose
APP_SECRET = "XwTUlUq7dGK1XexUS7ljShJJ7t1MIwXF" REGISTRY=registry.woni.link/
APP_IMAGE=office-xbot-feishu:latest
ENCRYPT_KEY = "z313YkENr4du2oDw" # APP
VERIFICATION_TOKEN = "35LaoAPYTXRyBmjeaBvzRbRUsJSL1KBx" APP_ID=cli_a5110cd1da70900b
APP_SECRET=XwTUlUq7dGK1XexUS7ljShJJ7t1MIwXF
ENCRYPT_KE=z313YkENr4du2oDw
VERIFICATION_TOKEN=35LaoAPYTXRyBmjeaBvzRbRUsJSL1KBx
+1 -1
View File
@@ -2,7 +2,7 @@ version: '3'
services: services:
office-xbot-feishu: office-xbot-feishu:
container_name: office-xbot-feishu-0 container_name: office-xbot-feishu-0
image: office-xbot-feishu:latest image: "${APP_IMAGE}"
ports: ports:
- "0.0.0.0:8080:8080" - "0.0.0.0:8080:8080"
env_file: env_file: