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

This commit is contained in:
BryantHe 2023-10-24 18:35:34 +08:00
parent e72c459e16
commit 72338f792d
1 changed files with 40 additions and 0 deletions

View File

@ -81,5 +81,45 @@ services:
tty: true tty: true
restart: always restart: always
command: [ "sh", "docker-deploy.sh" ] command: [ "sh", "docker-deploy.sh" ]
pzx-web-api-5:
build:
context: .
dockerfile: ./Dockerfile
container_name: pzx-web-api-5
hostname: pzx-web-api-5
ports:
- "5050: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-6:
build:
context: .
dockerfile: ./Dockerfile
container_name: pzx-web-api-6
hostname: pzx-web-api-6
ports:
- "5060: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" ]