comparison compose/preview/usps.yml @ 32:46e876a745d5

adjust yml files for docker neworking
author smith@nwoca.org
date Tue, 19 Jan 2016 01:46:26 +0000
parents ce113c143408
children 0d1d1abe035e
comparison
equal deleted inserted replaced
31:ce113c143408 32:46e876a745d5
1 # base compose file for usps preview release 1 # base compose file for usps preview release
2 uspsdb: 2 uspsdb:
3 restart: unless-stopped 3 restart: unless-stopped
4 image: docker.ssdt.io/ssdt-postgres:2 4 image: docker.ssdt.io/ssdt-postgres:2
5 hostname: uspsdb
5 volumes: 6 volumes:
6 - ${PWD}/backup:/backup 7 - ${PWD}/backup:/backup
7 environment: 8 environment:
8 - DB_NAME=uspsdb 9 - DB_NAME=uspsdb
9 - DB_USER=usps 10 - DB_USER=usps
12 restart: unless-stopped 13 restart: unless-stopped
13 image: docker.ssdt.io/usps-app:preview 14 image: docker.ssdt.io/usps-app:preview
14 volumes: 15 volumes:
15 - ${PWD}/config:/config 16 - ${PWD}/config:/config
16 environment: 17 environment:
17 - DB_HOST=database 18 - DB_HOST=uspsdb
18 - DB_NAME=uspsdb 19 - DB_NAME=uspsdb
19 - DB_USER=usps 20 - DB_USER=usps
20 - DB_PASS=uspsdefault 21 - DB_PASS=uspsdefault