mirror of
https://github.com/PRVTPRO/Amnezia-Web-Panel.git
synced 2026-09-18 01:44:10 +02:00
23 lines
813 B
YAML
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
|