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 b5ed6ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ services:
- SYSADMIN_EMAIL=${SYSADMIN_EMAIL}
command: [ "./wait-for-it.sh", "postgres:5432", "--", "./start-odk.sh" ]
restart: always
nginx:
logging:
driver: local
nginx:
build:
context: .
dockerfile: nginx.dockerfile
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 b5ed6ae

Please sign in to comment.