diff --git a/docker-compose.yml b/docker-compose.yml index 14e3168..a40b1eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" ]