From 72338f792d3819f5b781738c5f17e5780e52df83 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Tue, 24 Oct 2023 18:35:34 +0800 Subject: [PATCH] fix: add instances --- docker-compose.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a40b1eb..aa672e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -81,5 +81,45 @@ services: tty: true restart: always 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" ]