Update compose.yaml
Initial adjusted config - ignore previous ones
This commit is contained in:
24
compose.yaml
24
compose.yaml
@@ -11,17 +11,39 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/proxy_stack/apps/thelounge/data:/var/opt/thelounge
|
- /opt/proxy_stack/apps/thelounge/data:/var/opt/thelounge
|
||||||
|
|
||||||
|
# Attach to the same network Traefik uses
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/Toronto
|
- TZ=America/Toronto
|
||||||
|
|
||||||
# If at some point you run Traefik *on this same Docker host*
|
# If at some point you run Traefik *on this same Docker host*
|
||||||
# you can uncomment and adapt these labels.
|
# you can uncomment and adapt these labels.
|
||||||
labels:
|
labels:
|
||||||
|
# Enable Traefik for this container
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
# Use the same external network as Traefik
|
||||||
|
- "traefik.docker.network=proxy"
|
||||||
|
|
||||||
|
# Router: HTTPS
|
||||||
- "traefik.http.routers.thelounge.rule=Host(`irc.digitalvoid.ca`)"
|
- "traefik.http.routers.thelounge.rule=Host(`irc.digitalvoid.ca`)"
|
||||||
- "traefik.http.routers.thelounge.entrypoints=websecure"
|
- "traefik.http.routers.thelounge.entrypoints=websecure"
|
||||||
- "traefik.http.routers.thelounge.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.thelounge.tls=true"
|
||||||
|
|
||||||
|
# Use your existing DNS-challenge resolver
|
||||||
|
- "traefik.http.routers.thelounge.tls.certresolver=luadns"
|
||||||
|
|
||||||
|
# Internal port of the app
|
||||||
- "traefik.http.services.thelounge.loadbalancer.server.port=9000"
|
- "traefik.http.services.thelounge.loadbalancer.server.port=9000"
|
||||||
|
|
||||||
|
# Optional: protect with CrowdSec bouncer
|
||||||
|
- "traefik.http.routers.homepage.middlewares=crowdsec-security@docker"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
thelounge_data:
|
thelounge_data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user