Mercurial > public > ssdt-docker
annotate compose2/preview/usxs-services.yml @ 133:1e37ed533797
DEP-12: config errors in integration env var names
author | smith@nwoca.org |
---|---|
date | Mon, 08 May 2017 22:39:00 +0100 |
parents | a095257a342b |
children |
rev | line source |
---|---|
121 | 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 | 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 | 6 image: docker.ssdt.io/ssdt-postgres:4 |
121 | 7 volumes: |
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 | 14 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
122 | 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 | 24 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
120 | 25 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=uspsapp |
26 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true | |
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 | 33 usasimport-base: |
121 | 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 | 36 environment: |
37 - DB_HOST=usasdb | |
38 - DB_NAME=usasdb | |
39 - DB_USER=usas | |
40 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | |
122 | 41 uspsdb-base: |
121 | 42 restart: unless-stopped |
127 | 43 image: docker.ssdt.io/ssdt-postgres:4 |
121 | 44 volumes: |
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 | 48 environment: |
49 - DB_NAME=uspsdb | |
50 - DB_USER=usps | |
51 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
122 | 52 uspsapp-base: |
121 | 53 restart: unless-stopped |
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 | 57 environment: |
58 - DB_HOST=uspsdb | |
59 - DB_NAME=uspsdb | |
60 - DB_USER=usps | |
61 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
62 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp | |
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 | 70 uspsimport-base: |
121 | 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 | 73 environment: |
74 - DB_HOST=uspsdb | |
75 - DB_NAME=uspsdb | |
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 |