mirror of https://github.com/snachodog/mybuddy.git
A couple minor changes
- Added support for persisting static content using the advice from https://github.com/cdubz/babybuddy/issues/46#issuecomment-394020997. Thanks @djmwj ! - Fixed a couple yamllint warning messages. - Set some values explicitly to match `docker-compose config`.
This commit is contained in:
parent
326a6f448c
commit
9b19448317
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
|
@ -6,7 +7,7 @@ services:
|
|||
environment:
|
||||
- PGDATA=/db-data
|
||||
volumes:
|
||||
- db:/db-data
|
||||
- db:/db-data:rw
|
||||
app:
|
||||
image: cdubzzz/babybuddy
|
||||
env_file:
|
||||
|
@ -16,6 +17,9 @@ services:
|
|||
- "8000:8000"
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- baby_data:/app:rw
|
||||
|
||||
volumes:
|
||||
db:
|
||||
db: {}
|
||||
baby_data: {}
|
||||
|
|
Loading…
Reference in New Issue