Update compose.yaml

This commit is contained in:
2025-12-03 12:21:58 +01:00
parent 1cfc31cb04
commit f04324a321

View File

@@ -1,6 +1,7 @@
services:
wings:
image: ghcr.io/pterodactyl/wings
container_name: wing
env_file:
- .env
restart: unless-stopped
@@ -30,10 +31,12 @@ services:
- "traefik.http.routers.wings.entrypoints=websecure"
- "traefik.http.routers.wings.tls.certresolver=http"
- "traefik.http.services.wings.loadbalancer.server.port=443"
- "com.centurylinklabs.watchtower.enable=true"
traefik:
image: traefik:latest
restart: unless-stopped
container_name: traefik
command:
# - "--api.insecure=true" # jeśli chcesz włączyć panel sterowania Traefikiem --- IGNORE ---
- "--providers.docker=true"
@@ -48,6 +51,8 @@ services:
- "--providers.docker.exposedbydefault=false"
- "--metrics.prometheus=true"
- "--metrics.prometheus.addrouterslabels=true"
labels:
- "com.centurylinklabs.watchtower.enable=true"
ports:
- "80:80"
- "443:443"
@@ -74,6 +79,8 @@ services:
- "/cgroup:/cgroup:ro"
- "/dev:/dev:ro"
- "/etc/machine-id:/etc/machine-id:ro"
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
- monitoring
@@ -88,8 +95,21 @@ services:
networks:
- monitoring
- proxy
labels:
- "com.centurylinklabs.watchtower.enable=true"
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_LABEL_ENABLE=true
- WATCHTOWER_SCHEDULE=0 */12 * * *
network_mode: bridge
networks:
wings0: