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,12 +1,13 @@
|
||||||
|
---
|
||||||
version: "2"
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
- PGDATA=/db-data
|
- PGDATA=/db-data
|
||||||
volumes:
|
volumes:
|
||||||
- db:/db-data
|
- db:/db-data:rw
|
||||||
app:
|
app:
|
||||||
image: cdubzzz/babybuddy
|
image: cdubzzz/babybuddy
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -16,6 +17,9 @@ services:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
volumes:
|
||||||
|
- baby_data:/app:rw
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db: {}
|
||||||
|
baby_data: {}
|
||||||
|
|
Loading…
Reference in New Issue