🐳 添加 docker 配置.

This commit is contained in:
lijiahangmax
2024-02-28 00:40:01 +08:00
parent fe029ae05d
commit aa5760923b
2 changed files with 0 additions and 186 deletions

View File

@@ -1,8 +1,4 @@
#!/bin/bash
# 等待 mysql 服务
/app/wait-for-it.sh orion-ops-pro-db:3306 --timeout=60 --strict=tcp
# 等待 redis 服务
/app/wait-for-it.sh orion-ops-pro-redis:6379 --timeout=60 --strict=tcp
cd /app
nohup java -jar app.jar --spring.profiles.active=prod 2>&1 &
nginx -g 'daemon off;'