annotate compose/sample/docker-compose.yml @ 13:82b5ed864aee
DEP-7: set subdirectory for pgdata on volume
author |
smith@nwoca.org |
date |
Sun, 27 Dec 2015 18:00:03 +0000 |
parents |
cf23acedd048 |
children |
|
rev |
line source |
10
|
1 data:
|
|
2 image: busybox
|
|
3 volumes:
|
|
4 - ${PWD}/dbdata:/var/lib/postgresql/data
|
|
5 - ${PWD}/config:/config
|
11
|
6 - ${PWD}/backup:/backup
|
10
|
7 db:
|
|
8 restart: always
|
|
9 image: djsmith/ssdt-postgres:1
|
|
10 volumes_from:
|
|
11 - data
|
|
12 environment:
|
|
13 - DB_NAME=usasdb
|
|
14 - DB_USER=usas
|
|
15 - DB_PASS=PleaseDontUseExamplePasswords
|
|
16 app:
|
|
17 restart: always
|
|
18 image: djsmith/usas-app:snapshot
|
|