Compare commits

...

10 Commits

Author SHA1 Message Date
3c1575a5cc docs: up shell ✌️ 2020-09-30 16:22:46 +08:00
a8a1b80907 test: fixbug deploy sealmsd ✌️ 2020-09-30 02:12:09 +08:00
ce40174ec0 test: fixbug deploy sealms-ui ✌️ 2020-09-30 01:24:14 +08:00
8ba062174c test: fixbug deploy sealms-ui ✌️ 2020-09-30 01:21:16 +08:00
559ef7ce38 test: fixbug deploy sealms-ui ✌️ 2020-09-30 01:15:58 +08:00
071eaacecb test: fixbug deploy sealms-ui ✌️ 2020-09-30 01:09:49 +08:00
6a3ac0f0e6 test: fixbug deploy sealms-ui :v:✌️ 2020-09-30 01:07:29 +08:00
558a2256aa test: fixbug deploy sealms-ui ✌️ 2020-09-30 00:42:35 +08:00
fedf03c3e3 test: fixbug deploy sealms-ui ✌️ 2020-09-30 00:35:46 +08:00
b3f96ee1be test: fixbug volumes path ✌️ 2020-09-29 23:20:50 +08:00
4 changed files with 16 additions and 14 deletions

View File

@@ -1,3 +1,5 @@
http://dev.tp229.com:8008 { :8008 {
root * /app root * /app
file_server
encode zstd gzip
} }

View File

@@ -18,7 +18,7 @@ function go_rsync() {
} }
function ui_build() { function ui_build() {
cmd="cd /data/seal-ms/sealms-ui; yarn build:stage" cmd="cd /data/seal-ms/sealms-ui; yarn build:prod"
bash -c "docker exec -i build-node sh -c '${cmd}'" bash -c "docker exec -i build-node sh -c '${cmd}'"
} }
@@ -28,7 +28,7 @@ function go_build() {
} }
function go_restart() { function go_restart() {
bash -c "docker restart App-Sealms" bash -c "docker restart sealms_sealms_1"
} }
function help() { function help() {

View File

@@ -11,7 +11,7 @@ services:
volumes: volumes:
- mysql8_data:/var/lib/mysql - mysql8_data:/var/lib/mysql
- mysql8_logs:/var/log/mysql - mysql8_logs:/var/log/mysql
- /data/deploy/configs/mysql8/my.cnf:/etc/my.cnf - "/data/deploy/configs/mysql8/my.cnf:/etc/my.cnf.d/my.cnf"
networks: networks:
DevNet: DevNet:
ipv4_address: 172.23.23.251 ipv4_address: 172.23.23.251
@@ -19,8 +19,8 @@ services:
- "3306:3306" - "3306:3306"
redis5: redis5:
image: hub.local:3500/cnphpbb/redis:6-alpine image: hub.local:3500/cnphpbb/redis:5-alpine
container_name: "Dev-redis6" container_name: "Dev-redis5"
restart: always restart: always
command: "--requirepass Dev#gy&0412" command: "--requirepass Dev#gy&0412"
volumes: volumes:

View File

@@ -5,8 +5,8 @@ services:
image: hub.local:3500/cnphpbb/alpine-cn:3.12 image: hub.local:3500/cnphpbb/alpine-cn:3.12
restart: always restart: always
volumes: volumes:
- /data/www-root/seal-ms/sealme/release:/app - "/data/www-root/seal-ms/sealms/release:/app"
command: "/app/start.sh -d" command: "/app/start.sh"
networks: networks:
DevNet: DevNet:
ipv4_address: 172.23.23.21 ipv4_address: 172.23.23.21
@@ -17,13 +17,13 @@ services:
image: hub.local:3500/cnphpbb/caddy:2-alpine image: hub.local:3500/cnphpbb/caddy:2-alpine
restart: always restart: always
volumes: volumes:
- /data/www-root/seal-ms/sealme-ui/dist:/app - "/data/www-root/seal-ms/sealms-ui:/app"
- /data/deploy/configs/caddy/sealms-ui.conf:/etc/caddy/Caddyfile - "/data/deploy/configs/caddy/sealms-ui.conf:/etc/caddy/Caddyfile"
networks: networks:
DevNet: DevNet:
ipv4_address: 172.23.23.11 ipv4_address: 172.23.23.11
ports: ports:
- "8080:80" - "8008:8008"