annotate compose2/preview/usxs-services.yml @ 128:c39100a00b5c

DEP-12: add explicit network defintions for backend
author smith@nwoca.org
date Mon, 08 May 2017 15:37:46 +0100
parents b1296e800108
children a095257a342b
rev   line source
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
1 # base compose file for USxS Preview releases
113
40d81a3dd3cc DEP-12: downgrade to 2.1 format to do missing extends feature in 3.0
smith@nwoca.org
parents: 110
diff changeset
2 version: "2.1"
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
3 services:
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
4 usasdb-base:
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
5 restart: unless-stopped
127
b1296e800108 DEP-12: update postgres image
smith@nwoca.org
parents: 124
diff changeset
6 image: docker.ssdt.io/ssdt-postgres:4
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
7 volumes:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
8 - usasdata:/var/lib/postgresql/data
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
9 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
10 - default
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
11 environment:
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
12 - DB_NAME=usasdb
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
13 - DB_USER=usas
110
950df79a9d65 DEP-12: update password configuration
smith@nwoca.org
parents: 109
diff changeset
14 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
15 usasapp-base:
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
16 restart: unless-stopped
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
17 image: docker.ssdt.io/usas-app:preview
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
18 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
19 - default
85
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
20 environment:
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
21 - DB_HOST=usasdb
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
22 - DB_NAME=usasdb
8f45c43ea7a4 DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff changeset
23 - DB_USER=usas
110
950df79a9d65 DEP-12: update password configuration
smith@nwoca.org
parents: 109
diff changeset
24 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
120
2e25338c847e DEP-12: update integration vars
smith@nwoca.org
parents: 119
diff changeset
25 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=uspsapp
2e25338c847e DEP-12: update integration vars
smith@nwoca.org
parents: 119
diff changeset
26 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
2e25338c847e DEP-12: update integration vars
smith@nwoca.org
parents: 119
diff changeset
27 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
2e25338c847e DEP-12: update integration vars
smith@nwoca.org
parents: 119
diff changeset
28 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=false
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
29 usasimport-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
30 image: docker.ssdt.io/usas-import:preview
124
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
31 command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- }
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
32 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
33 - DB_HOST=usasdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
34 - DB_NAME=usasdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
35 - DB_USER=usas
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
36 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
37 uspsdb-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
38 restart: unless-stopped
127
b1296e800108 DEP-12: update postgres image
smith@nwoca.org
parents: 124
diff changeset
39 image: docker.ssdt.io/ssdt-postgres:4
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
40 volumes:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
41 - uspsdata:/var/lib/postgresql/data
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
42 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
43 - default
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
44 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
45 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
46 - DB_USER=usps
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
47 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
48 uspsapp-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
49 restart: unless-stopped
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
50 image: docker.ssdt.io/usps-app:preview
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
51 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
52 - default
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
53 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
54 - DB_HOST=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
55 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
56 - DB_USER=usps
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
57 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
58 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
59 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
60 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=0.0.0.0
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
61 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=false
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
62 uspsimport-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
63 image: docker.ssdt.io/usps-import:preview
124
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
64 command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- } ${IMP_ANON- } ${IMP_EM- }
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
65 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
66 - DB_HOST=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
67 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
68 - DB_USER=usps
124
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
69 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
70