comparison compose/preview/training.yml @ 39:297b56dfba19

add training compose file
author smith@nwoca.org
date Wed, 20 Jan 2016 20:15:49 +0000
parents cd482d0a46e8
children 809ba4a960bc
comparison
equal deleted inserted replaced
38:cd482d0a46e8 39:297b56dfba19
4 environment: 4 environment:
5 - DB_NAME=usasdb 5 - DB_NAME=usasdb
6 - DB_USER=usas 6 - DB_USER=usas
7 - DB_PASS=usasdefault 7 - DB_PASS=usasdefault
8 usasapp: 8 usasapp:
9 extends: 9 restart: unless-stopped
10 file: /ssdt/compose/preview/usas.yml 10 image: docker.ssdt.io/usas-app:preview
11 service: usasapp 11 volumes:
12 - ${PWD}/config:/config
13 environment:
14 - DB_HOST=usas-database
15 - DB_NAME=usasdb
16 - DB_USER=usas
17 - DB_PASS=usasdefault
12 links: 18 links:
13 - usasdb:database 19 - usasdb:usas-database
14 uspsdb: 20 uspsdb:
15 restart: unless-stopped 21 restart: unless-stopped
16 image: docker.ssdt.io/trainingdb-usps 22 image: docker.ssdt.io/trainingdb-usps
17 environment: 23 environment:
18 - DB_NAME=uspsdb 24 - DB_NAME=uspsdb
19 - DB_USER=usps 25 - DB_USER=usps
20 - DB_PASS=uspsdefault 26 - DB_PASS=uspsdefault
21 uspsapp: 27 uspsapp:
22 extends: 28 restart: unless-stopped
23 file: /ssdt/compose/preview/usps.yml 29 image: docker.ssdt.io/usps-app:preview
24 service: uspsapp 30 volumes:
31 - ${PWD}/config:/config
32 environment:
33 - DB_HOST=usps-database
34 - DB_NAME=uspsdb
35 - DB_USER=usps
36 - DB_PASS=uspsdefault
25 links: 37 links:
26 - uspsdb:database 38 - uspsdb:usps-database
27 39