env
This commit is contained in:
parent
7522531e39
commit
119df65f51
|
@ -32,6 +32,8 @@ INSTANCE_DESCRIPTION="An instance of Bonfire, a federated app ecosystem for open
|
||||||
# max file upload size - default is 20 meg
|
# max file upload size - default is 20 meg
|
||||||
UPLOAD_LIMIT=20000000
|
UPLOAD_LIMIT=20000000
|
||||||
|
|
||||||
|
DB_MEMORY_LIMIT=1000M
|
||||||
|
|
||||||
# how much info to include in logs (from less to more: emergency, alert, critical, error, warning, notice, info, debug)
|
# how much info to include in logs (from less to more: emergency, alert, critical, error, warning, notice, info, debug)
|
||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
|
|
||||||
|
@ -92,4 +94,4 @@ ACME_AGREE=true
|
||||||
SHOW_DEBUG_IN_DEV=true
|
SHOW_DEBUG_IN_DEV=true
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
HOSTNAME=$DOMAIN
|
HOSTNAME=$DOMAIN
|
||||||
PLUG_SERVER=bandit
|
#PLUG_SERVER=bandit
|
||||||
|
|
13
compose.yml
13
compose.yml
|
@ -4,6 +4,8 @@ version: "3.8"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ${APP_DOCKER_IMAGE}
|
image: ${APP_DOCKER_IMAGE}
|
||||||
|
# logging:
|
||||||
|
# driver: none
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- search
|
- search
|
||||||
|
@ -88,6 +90,8 @@ services:
|
||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
|
#- "traefik.http.routers.${STACK_NAME}.middlewares=error-pages-middleware"
|
||||||
|
#- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||||
## Redirect from EXTRA_DOMAINS to DOMAIN
|
## Redirect from EXTRA_DOMAINS to DOMAIN
|
||||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||||
|
@ -110,9 +114,16 @@ services:
|
||||||
- postgres_password
|
- postgres_password
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
|
# - type: tmpfs
|
||||||
|
# target: /dev/shm
|
||||||
|
# tmpfs:
|
||||||
|
# size: 1096000000 # (about 1GB)
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
# entrypoint: ['tail', '-f', '/dev/null']
|
# shm_size: ${DB_MEMORY_LIMIT}
|
||||||
|
# tmpfs:
|
||||||
|
# - /tmp:size=${DB_MEMORY_LIMIT}
|
||||||
|
# entrypoint: ['tail', '-f', '/dev/null']
|
||||||
|
|
||||||
search:
|
search:
|
||||||
image: getmeili/meilisearch:latest
|
image: getmeili/meilisearch:latest
|
||||||
|
|
Loading…
Reference in New Issue