From 4f8abb3fa79237ac99a07aa52ab2b17f04da2ab4 Mon Sep 17 00:00:00 2001 From: knoflook Date: Thu, 17 Nov 2022 11:46:29 +0100 Subject: [PATCH] allow user to use plain http --- .env.sample | 3 +++ compose.http.yml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 compose.http.yml diff --git a/.env.sample b/.env.sample index 67085ae..3a978b0 100644 --- a/.env.sample +++ b/.env.sample @@ -16,3 +16,6 @@ COMPOSE_FILE="compose.yml" #COMPOSE_FILE="$COMPOSE_FILE:compose.git-pull.yml" #GIT_REPO_URL="https://git.coopcloud.tech/dalmationer/hexbomb.gay" #CRON_SCHEDULE="*/1 * * * *" + +# Allow access trough plain http +#COMPOSE_FILE="$COMPOSE_FILE:compose.http.yml" diff --git a/compose.http.yml b/compose.http.yml new file mode 100644 index 0000000..3c9b5c8 --- /dev/null +++ b/compose.http.yml @@ -0,0 +1,8 @@ +version: "3.8" + +services: + app: + deploy: + labels: + - "traefik.http.routers.${STACK_NAME}_http.entrypoints=web" + - "traefik.http.routers.${STACK_NAME}_http.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"