summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-14 13:50:26 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-14 13:50:26 +0100
commitaa7d1051c8c5f93ed8c8fea432f82af4098321fe (patch)
treeafc2306428c12ddc8eb838a68411c5f4881e2bc6
parentc405fba0e1226c6eed08fe6435bcbc87314d82b4 (diff)
[games] tuxeclicker
-rw-r--r--Applications/Games/tuxeclicker/.env.example2
-rw-r--r--Applications/Games/tuxeclicker/docker-compose.yml20
2 files changed, 22 insertions, 0 deletions
diff --git a/Applications/Games/tuxeclicker/.env.example b/Applications/Games/tuxeclicker/.env.example
new file mode 100644
index 0000000..2cca88d
--- /dev/null
+++ b/Applications/Games/tuxeclicker/.env.example
@@ -0,0 +1,2 @@
+DOMAIN=example.org
+TRAEFIK_NETWORK=traefik-public
diff --git a/Applications/Games/tuxeclicker/docker-compose.yml b/Applications/Games/tuxeclicker/docker-compose.yml
new file mode 100644
index 0000000..f7af866
--- /dev/null
+++ b/Applications/Games/tuxeclicker/docker-compose.yml
@@ -0,0 +1,20 @@
+version: "3"
+
+services:
+ tuxeclicker:
+ image: nginx:alpine
+ restart: unless-stopped
+ volumes:
+ - "./files:/usr/share/nginx/html:ro"
+ networks:
+ - "traefik"
+ labels:
+ - "traefik.enable=true"
+ - "traefik.http.routers.games-tuxeclicker.rule=Host(`${DOMAIN}`)"
+ - "traefik.http.routers.games-tuxeclicker.entrypoints=websecure"
+ - "traefik.http.routers.games-tuxeclicker.tls.certresolver=letsencrypt"
+
+networks:
+ traefik:
+ name: "${TRAEFIK_NETWORK}"
+ external: true