annotate compose3/preview/training.yml @ 136:72f15ffc9ad2

DEP-12: convert compose files to 3.1. remove template. update bash script to create composite docker-files without extends. prevent overwriting manual changes to docker-comose.yml
author smith@nwoca.org
date Mon, 15 May 2017 23:07:10 +0100
parents 03e39b95d904
children
rev   line source
124
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
1 usasdb:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
2 restart: unless-stopped
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
3 image: docker.ssdt.io/trainingdb-usas
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
4 environment:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
5 - DB_NAME=usasdb
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
6 - DB_USER=usas
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
7 - DB_PASS=usasdefault
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
8 usasapp:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
9 restart: unless-stopped
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
10 image: docker.ssdt.io/usas-app:preview
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
11 volumes:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
12 - ${PWD}/config:/config
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
13 environment:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
14 - DB_HOST=usas-database
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
15 - DB_NAME=usasdb
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
16 - DB_USER=usas
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
17 - DB_PASS=usasdefault
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
18 - JAVA_OPTS=-Xmx640m
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
19 links:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
20 - usasdb:usas-database
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
21 uspsdb:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
22 restart: unless-stopped
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
23 image: docker.ssdt.io/trainingdb-usps
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
24 environment:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
25 - DB_NAME=uspsdb
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
26 - DB_USER=usps
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
27 - DB_PASS=uspsdefault
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
28 uspsapp:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
29 restart: unless-stopped
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
30 image: docker.ssdt.io/usps-app:preview
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
31 volumes:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
32 - ${PWD}/config:/config
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
33 environment:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
34 - DB_HOST=usps-database
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
35 - DB_NAME=uspsdb
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
36 - DB_USER=usps
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
37 - DB_PASS=uspsdefault
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
38 - JAVA_OPTS=-Xmx640m
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
39 links:
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
40 - uspsdb:usps-database
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 122
diff changeset
41