Files
amnezia-web-panel/docker-compose.yml
T
Public relations & Virtual technology 5393f9a05f Update docker-compose.yml
2026-03-31 12:37:28 +03:00

23 lines
813 B
YAML

version: '3.8'
services:
amnezia_panel:
image: prvtpro/amnezia-panel:1.2.0
container_name: amnezia_panel
# To connect the (Traefik) balancer, assign one network to both containers and uncomment the labels by replacing the domain with your own.
# labels:
# - traefik.enable=true
# - traefik.http.routers.amnezia_panel.entrypoints=web,websecure
# - traefik.http.routers.amnezia_panel.rule=Host(`amnezia.domain`)
# - traefik.http.services.amnezia_panel.loadbalancer.server.port=5000
ports:
- "${APP_PORT:-5000}:5000"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "python3 -c \"import socket; s=socket.socket(); s.connect(('localhost', 5000)); s.close()\""]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s