annotate compose3/preview/usxs-services.yml @ 135:03e39b95d904

DEP-12: convert to compose verison 3.1 (again)
author smith@nwoca.org
date Mon, 15 May 2017 21:33:24 +0100
parents compose2/preview/usxs-services.yml@1e37ed533797
children
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
135
03e39b95d904 DEP-12: convert to compose verison 3.1 (again)
smith@nwoca.org
parents: 133
diff changeset
2 version: "3.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
133
1e37ed533797 DEP-12: config errors in integration env var names
smith@nwoca.org
parents: 132
diff changeset
28 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOSTDNSLOOKUP=false
132
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
29 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APPLICATIONID=${USAS_APPLICATIONID:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
30 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APIKEY=${USAS_APIKEY:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
31 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPPLICATIONID=${USPS_APPLICATIONID:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
32 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPIKEY=${USPS_APIKEY:- }
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
33 usasimport-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
34 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
35 command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- }
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
36 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
37 - DB_HOST=usasdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
38 - DB_NAME=usasdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
39 - DB_USER=usas
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
40 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
41 uspsdb-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
42 restart: unless-stopped
127
b1296e800108 DEP-12: update postgres image
smith@nwoca.org
parents: 124
diff changeset
43 image: docker.ssdt.io/ssdt-postgres:4
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
44 volumes:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
45 - uspsdata:/var/lib/postgresql/data
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
46 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
47 - default
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
48 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
49 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
50 - DB_USER=usps
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
51 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
52 uspsapp-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
53 restart: unless-stopped
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
54 image: docker.ssdt.io/usps-app:preview
128
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
55 networks:
c39100a00b5c DEP-12: add explicit network defintions for backend
smith@nwoca.org
parents: 127
diff changeset
56 - default
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
57 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
58 - DB_HOST=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
59 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
60 - DB_USER=usps
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
61 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
62 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
63 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
133
1e37ed533797 DEP-12: config errors in integration env var names
smith@nwoca.org
parents: 132
diff changeset
64 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOST=0.0.0.0
1e37ed533797 DEP-12: config errors in integration env var names
smith@nwoca.org
parents: 132
diff changeset
65 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOSTDNSLOOKUP=false
132
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
66 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APPLICATIONID=${USPS_APPLICATIONID:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
67 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APIKEY=${USPS_APIKEY:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
68 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPPLICATIONID=${USAS_APPLICATIONID:- }
a095257a342b DEP-12: add auto-config of initial integration keys
smith@nwoca.org
parents: 128
diff changeset
69 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPIKEY=${USAS_APIKEY:- }
122
4875af3f3383 DEP-12: move to compose v2
smith@nwoca.org
parents: 121
diff changeset
70 uspsimport-base:
121
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
71 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
72 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
73 environment:
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
74 - DB_HOST=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
75 - DB_NAME=uspsdb
cf5348287cf6 DEP-12: consolidate compose services
smith@nwoca.org
parents: 120
diff changeset
76 - DB_USER=usps
124
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
77 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
6943c7dd91f6 DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents: 123
diff changeset
78