Files
api-python-001/docker-compose.yml
hcornet ea531c4e1c
build / build (push) Successful in 53s
first
2026-09-21 17:43:42 +02:00

32 lines
1.0 KiB
YAML

# Déploiement de test sur SLDOKP03 : /opt/api-python-001 (docker-compose.yml + .env)
services:
api-python-001:
image: registry.tips-of-mine.com/api-python-001/api-python-001:${IMAGE_TAG:-latest}
container_name: api-python-001-app
restart: unless-stopped
env_file: .env
volumes:
- ./data:/data
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
networks:
- traefik_front_network
labels:
- traefik.enable=true
- traefik.docker.network=traefik_front_network
- traefik.http.routers.api-python-001.rule=Host(`api-python-001.tips-of-mine.com`)
- traefik.http.routers.api-python-001.entrypoints=https
- traefik.http.routers.api-python-001.tls=true
- traefik.http.routers.api-python-001.service=api-python-001
- traefik.http.services.api-python-001.loadbalancer.server.port=8000
- com.centurylinklabs.watchtower.enable=true
networks:
traefik_front_network:
external: true