fix: add instances
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-10-24 17:16:13 +08:00
parent b64edf3be9
commit bffb0ac37a
1 changed files with 40 additions and 0 deletions

View File

@ -41,5 +41,45 @@ services:
tty: true
restart: always
command: [ "sh", "docker-deploy.sh" ]
pzx-web-api-3:
build:
context: .
dockerfile: ./Dockerfile
container_name: pzx-web-api-3
hostname: pzx-web-api-3
ports:
- "5030:5000"
volumes:
- .:/app
environment:
TZ: "Asia/Shanghai"
LOG_LEVEL: "DEBUG"
env_file:
- .apiflaskenv
- .apiflask.env
working_dir: /app
tty: true
restart: always
command: [ "sh", "docker-deploy.sh" ]
pzx-web-api-4:
build:
context: .
dockerfile: ./Dockerfile
container_name: pzx-web-api-4
hostname: pzx-web-api-4
ports:
- "5040:5000"
volumes:
- .:/app
environment:
TZ: "Asia/Shanghai"
LOG_LEVEL: "DEBUG"
env_file:
- .apiflaskenv
- .apiflask.env
working_dir: /app
tty: true
restart: always
command: [ "sh", "docker-deploy.sh" ]