Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbc7c53dea |
@@ -26,6 +26,10 @@ REPLY_HOSTNAME=$DOMAIN
|
|||||||
|
|
||||||
RAILS_ENV=production
|
RAILS_ENV=production
|
||||||
|
|
||||||
|
# Secure page via tiny auth
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.tinyauth.yml"
|
||||||
|
# TINY_MIDDLEWARE="sub_example_com"
|
||||||
|
|
||||||
# Number of webserver processes and threads
|
# Number of webserver processes and threads
|
||||||
# threads are per worker. See https://github.com/puma/puma
|
# threads are per worker. See https://github.com/puma/puma
|
||||||
PUMA_WORKERS=2
|
PUMA_WORKERS=2
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- "traefik.http.routers.${STACK_NAME}.middlewares=${TINY_MIDDLEWARE}"
|
||||||
@@ -72,7 +72,6 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=5.2.1+v3.0.20"
|
- "coop-cloud.${STACK_NAME}.version=5.2.1+v3.0.20"
|
||||||
- "backupbot.backup:=${ENABLE_BACKUPS:-true}"
|
- "backupbot.backup:=${ENABLE_BACKUPS:-true}"
|
||||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}"
|
|
||||||
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
|
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowheaders=*"
|
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowheaders=*"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}.headers.accessControlAllowOriginList=https://*.${DOMAIN}"
|
- "traefik.http.middlewares.${STACK_NAME}.headers.accessControlAllowOriginList=https://*.${DOMAIN}"
|
||||||
|
|||||||
Reference in New Issue
Block a user