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
|
||||
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)
|
||||
LOG_LEVEL=info
|
||||
|
||||
|
@ -92,4 +94,4 @@ ACME_AGREE=true
|
|||
SHOW_DEBUG_IN_DEV=true
|
||||
LETS_ENCRYPT_ENV=production
|
||||
HOSTNAME=$DOMAIN
|
||||
PLUG_SERVER=bandit
|
||||
#PLUG_SERVER=bandit
|
||||
|
|
13
compose.yml
13
compose.yml
|
@ -4,6 +4,8 @@ version: "3.8"
|
|||
services:
|
||||
app:
|
||||
image: ${APP_DOCKER_IMAGE}
|
||||
# logging:
|
||||
# driver: none
|
||||
depends_on:
|
||||
- db
|
||||
- search
|
||||
|
@ -88,6 +90,8 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "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
|
||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
|
@ -110,9 +114,16 @@ services:
|
|||
- postgres_password
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
# - type: tmpfs
|
||||
# target: /dev/shm
|
||||
# tmpfs:
|
||||
# size: 1096000000 # (about 1GB)
|
||||
networks:
|
||||
- internal
|
||||
# entrypoint: ['tail', '-f', '/dev/null']
|
||||
# shm_size: ${DB_MEMORY_LIMIT}
|
||||
# tmpfs:
|
||||
# - /tmp:size=${DB_MEMORY_LIMIT}
|
||||
# entrypoint: ['tail', '-f', '/dev/null']
|
||||
|
||||
search:
|
||||
image: getmeili/meilisearch:latest
|
||||
|
|
Loading…
Reference in New Issue