Files
parr_api/stack.yml
2023-08-28 08:54:00 +10:00

51 lines
1.2 KiB
YAML

version: "3.4"
services:
parr-espp-template-sync:
image: 10.99.253.167:8090/parr/parr-espp-template-sync:${tag:-latest}
container_name: parr-espp-template-sync
restart: always
environment:
- ASPNETCORE_ENVIRONMENT=Production
- TZ=Europe/Moscow
volumes:
- /var/log/parr-espp-template-sync:/app/log
- parr_storage_dev:/app/Data
deploy:
replicas: 1
volumes:
parr_storage_dev:
name: parr_storage_dev
driver: local
driver_opts:
type: cifs
o: "addr=dvgd-appfs-01,username=parruserdev,password=P@ssDevParr202MM"
device: //dvgd-appfs-01/parr_storage_dev
# # --- NGINX ---
# nginx-2:
# image: nginx:latest
# ports:
# - '8089:80'
# deploy:
# replicas: 5
# update_config:
# parallelism: 2
# order: start-first
# failure_action: rollback
# delay: 5s
# rollback_config:
# parallelism: 0
# order: stop-first
# restart_policy:
# condition: any
# delay: 5s
# max_attempts: 3
# window: 120s
# healthcheck:
# test: ["CMD", "service", "nginx", "status"]
# networks:
# - nginx-2