Skip to content

Commit

Permalink
Enable local driver for log rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa authored and matthew-white committed Sep 22, 2021
1 parent f049734 commit f197e5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ services:
- SYSADMIN_EMAIL=${SYSADMIN_EMAIL}
command: [ "./wait-for-it.sh", "postgres:5432", "--", "./start-odk.sh" ]
restart: always
logging:
driver: local
nginx:
build:
context: .
Expand All @@ -52,6 +54,10 @@ services:
healthcheck:
test: [ "CMD-SHELL", "nc -z localhost 80 || exit 1" ]
restart: always
logging:
driver: local
options:
max-file: "30"
pyxform:
image: 'ghcr.io/getodk/pyxform-http:v1.6.0'
restart: always
Expand Down

0 comments on commit f197e5a

Please sign in to comment.