mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 07:56:49 +00:00
Refactor thelounge.yml to update volume mapping and Traefik routing rules
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
services:
|
||||||
|
adguardhome:
|
||||||
|
image: adguard/adguardhome
|
||||||
|
volumes:
|
||||||
|
- /var/data/adguardhome_conf:/opt/adguardhome/conf
|
||||||
|
- /var/data/adguardhome_work:/opt/adguardhome/work
|
||||||
|
ports:
|
||||||
|
# DNS
|
||||||
|
- 53:53
|
||||||
|
# # DHCP server
|
||||||
|
# - 67:67/udp
|
||||||
|
# - 68:68/udp
|
||||||
|
# # HTTPS/DNS-over-HTTPS
|
||||||
|
# - 443:443/tcp
|
||||||
|
# # DNS-over-TLS
|
||||||
|
# - 853:853/tcp
|
||||||
|
# # DNS-over-QUIC
|
||||||
|
# - 853:853/udp
|
||||||
|
# # DNSCrypt
|
||||||
|
# - 5443:5443/tcp
|
||||||
|
# - 5443:5443/udp
|
||||||
|
# # WebUI
|
||||||
|
# - 3000:3000/tcp
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=traefik-public
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
|
- traefik.http.routers.adguardhome.entrypoints=https
|
||||||
|
- traefik.http.routers.adguardhome.rule=Host(`guard.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.adguardhome.tls.certresolver=le
|
||||||
|
- traefik.http.services.adguardhome.loadbalancer.server.port=3000
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik-public:
|
||||||
|
external: true
|
||||||
+2
-9
@@ -2,26 +2,19 @@ services:
|
|||||||
thelounge:
|
thelounge:
|
||||||
image: thelounge/thelounge:latest
|
image: thelounge/thelounge:latest
|
||||||
volumes:
|
volumes:
|
||||||
- thelounge-data:/var/opt/thelounge
|
- /var/data/thelounge-data:/var/opt/thelounge
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
# placement:
|
|
||||||
# constraints:
|
|
||||||
# - node.labels.thelounge.thelounge-data == true
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=traefik-public
|
- traefik.docker.network=traefik-public
|
||||||
- traefik.constraint-label=traefik-public
|
- traefik.constraint-label=traefik-public
|
||||||
- traefik.http.routers.thelounge-https.rule=Host(`irc.${DOMAIN?Variable not set}`)
|
|
||||||
- traefik.http.routers.thelounge-https.entrypoints=https
|
- traefik.http.routers.thelounge-https.entrypoints=https
|
||||||
- traefik.http.routers.thelounge-https.tls=true
|
- traefik.http.routers.thelounge-https.rule=Host(`irc.${DOMAIN?Variable not set}`)
|
||||||
- traefik.http.routers.thelounge-https.tls.certresolver=le
|
- traefik.http.routers.thelounge-https.tls.certresolver=le
|
||||||
- traefik.http.services.thelounge.loadbalancer.server.port=9000
|
- traefik.http.services.thelounge.loadbalancer.server.port=9000
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik-public:
|
traefik-public:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
|
||||||
thelounge-data:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user