Coolify does not expand ${VAR} in label values. All loadbalancer port
labels must use hardcoded values:
- trilium: ${TRILIUM_HTTP_PORT} → 8080
- adguard: ${ADGUARD_HTTP_PORT} → 80
- authentik: ${AUTHENTIK_HTTP_PORT} → 9000
- gitea: ${GITEA_HTTP_PORT} → 3000
- wireguard: ${WG_UI_PORT} → 51821
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
795 B
YAML
35 lines
795 B
YAML
services:
|
|
adguardhome:
|
|
image: ${ADGUARD_IMAGE}
|
|
container_name: adguardhome
|
|
pull_policy: always
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /opt/adguard/work:/opt/adguardhome/work:Z
|
|
- /opt/adguard/conf:/opt/adguardhome/conf:Z
|
|
- adguard-cert-crt-path:/certs/adguard.crt:ro,Z
|
|
- adguard-cert-key-path:/certs/adguard.key:ro,Z
|
|
|
|
# Solo DNS/DoT expuestos en el host
|
|
ports:
|
|
# - "53:53/tcp"
|
|
# - "53:53/udp"
|
|
- "${ADGUARD_DOT_PORT}:853/tcp" # DoT para Android (DNS privado)
|
|
# - "81:80/tcp"
|
|
|
|
networks:
|
|
proxy:
|
|
ipv4_address: ${ADGUARD_IPV4}
|
|
|
|
labels:
|
|
traefik.http.services.adguard.loadbalancer.server.port: "80"
|
|
|
|
volumes:
|
|
adguard-cert-crt-path:
|
|
adguard-cert-key-path:
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|