diff options
-rw-r--r-- | Applications/Games/tuxeclicker/.env.example | 2 | ||||
-rw-r--r-- | Applications/Games/tuxeclicker/docker-compose.yml | 20 |
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 |