aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/lounge
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-29 16:50:49 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-29 16:50:49 +0000
commit707e4a8b50f567dbbb740a067a0609c12159379f (patch)
treee33dbc72026366994db1dcf56ecef8d3d6fc5f7e /terminaldweller.com/lounge
parentupdate (diff)
downloadscripts-707e4a8b50f567dbbb740a067a0609c12159379f.tar.gz
scripts-707e4a8b50f567dbbb740a067a0609c12159379f.zip
bunch of updates
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/lounge/docker-compose.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/terminaldweller.com/lounge/docker-compose.yml b/terminaldweller.com/lounge/docker-compose.yml
new file mode 100644
index 0000000..e755935
--- /dev/null
+++ b/terminaldweller.com/lounge/docker-compose.yml
@@ -0,0 +1,29 @@
+version: '3'
+services:
+ app:
+ image: thelounge/thelounge:4.3.1
+ volumes:
+ - thelounge-data:/var/opt/thelounge
+ networks:
+ - traefik-public
+ deploy:
+ placement:
+ constraints:
+ - node.labels.thelounge.thelounge-data == true
+ labels:
+ - traefik.enable=true
+ - traefik.docker.network=traefik-public
+ - traefik.constraint-label=traefik-public
+ - traefik.http.routers.thelounge-http.rule=Host(`lounge.terminaldweller.com`)
+ - traefik.http.routers.thelounge-http.entrypoints=http
+ - traefik.http.routers.thelounge-http.middlewares=https-redirect
+ - traefik.http.routers.thelounge-https.rule=Host(`lounge.terminaldweller.com`)
+ - traefik.http.routers.thelounge-https.entrypoints=https
+ - traefik.http.routers.thelounge-https.tls=true
+ - traefik.http.routers.thelounge-https.tls.certresolver=le
+ - traefik.http.services.thelounge.loadbalancer.server.port=9000
+networks:
+ traefik-public:
+ external: true
+volumes:
+ thelounge-data: