修改部署文件
continuous-integration/drone/push Build is passing

This commit is contained in:
yangzuhao
2023-02-12 14:38:12 +08:00
parent 5e319f768f
commit 7598d0b2b9
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
EXEC_USER=work
su - ${EXEC_USER}
DEPLOY_PATH="/home/work/apps/wiki"
DEPLOY_PATH="/home/work/docker/wiki"
cd ${DEPLOY_PATH}
docker-compose up -d
+1 -3
View File
@@ -3,8 +3,7 @@
EXEC_USER=work
su - ${EXEC_USER}
DEPLOY_PATH="/home/work/apps/wiki"
LOG_PATH="${DEPLOY_PATH}/log"
DEPLOY_PATH="/home/work/docker/wiki"
folder_exists() {
if [ -d "$1" ]; then
@@ -22,5 +21,4 @@ pack_docker() {
}
folder_exists ${DEPLOY_PATH}
folder_exists ${LOG_PATH}
pack_docker ${DEPLOY_PATH}
+3 -4
View File
@@ -1,4 +1,4 @@
version: 2
version: "3"
services:
docker-ui:
hostname: wiki.flyaha.top
@@ -16,6 +16,5 @@ services:
volumes:
- /home/work/apps/wiki/data:/wiki/data/
networks:
default:
external:
name: flyaha
flyaha:
external: true