File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,14 @@ services:
1212 volumes :
1313 - db:/var/lib/postgresql/data
1414 environment :
15- POSTGRES_USER : mat
16- POSTGRES_DB : mutualaidtompkins
15+ POSTGRES_USER : ${POSTGRES_USER:-ma}
16+ POSTGRES_DB : ${POSTGRES_DB:-mutualaid}
1717 POSTGRES_PASSWORD : " ${POSTGRES_PASSWORD}"
18+ logging :
19+ driver : json-file
20+ options :
21+ max-size : " 200k"
22+ max-file : " 10"
1823 app :
1924 build :
2025 context : ../..
@@ -39,6 +44,11 @@ services:
3944 SECRET_KEY_BASE : " ${SECRET_KEY_BASE}"
4045 volumes :
4146 - " public:/usr/src/app/public"
47+ logging :
48+ driver : json-file
49+ options :
50+ max-size : " 200k"
51+ max-file : " 10"
4252 caddy :
4353 image : caddy
4454 volumes :
@@ -51,3 +61,8 @@ services:
5161 restart : always
5262 depends_on :
5363 - app
64+ logging :
65+ driver : json-file
66+ options :
67+ max-size : " 200k"
68+ max-file : " 10"
You can’t perform that action at this time.
0 commit comments