diff --git a/.env.sample b/.env.sample index 18b3fef..6f0190f 100644 --- a/.env.sample +++ b/.env.sample @@ -1,4 +1,5 @@ TYPE=4get +COMPOSE_FILE="compose.yml" DOMAIN=4get.example.com @@ -21,8 +22,12 @@ DEFAULT_THEME="Dark" # Options: "Catppuccin Latte" "Dark Christmas" "Wine" "Catp ## Enable onion routing, this will make all searches using tor #COMPOSE_FILE="$COMPOSE_FILE:compose.tor.yml" +## Enable tinyauth forward auth +#COMPOSE_FILE="$COMPOSE_FILE:compose.tiny.yml" +#TINY_MIDDLEWARE="your_domain_com" + INCLUDE_NEWS_LINK=false INCLUDE_4GET_DONATION_LINK=true INCLUDE_SOURCE_LINK=false API_ENABLED=false -#MOTD="A proxy search engine that doesn't suck" \ No newline at end of file +#MOTD="A proxy search engine that doesn't suck" diff --git a/compose.tiny.yml b/compose.tiny.yml new file mode 100644 index 0000000..394387a --- /dev/null +++ b/compose.tiny.yml @@ -0,0 +1,8 @@ +--- +version: "3.11" + +services: + app: + deploy: + labels: + - "traefik.http.routers.${STACK_NAME}.middlewares=${TINY_MIDDLEWARE}" diff --git a/compose.yml b/compose.yml index 2f3320d..8909ae2 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.11" services: app: - image: luuul/4get:1.0.34 + image: luuul/4get:1.0.37 environment: - FOURGET_PROTO=http - DISALLOWED_SSL=TLS_AES_256_GCM_SHA384