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 committed Sep 1, 2021
1 parent e16b795 commit 7d293bb
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: 'getodk/pyxform-http:v1.5.1'
restart: always
Expand Down

0 comments on commit 7d293bb

Please sign in to comment.