Mercurial > public > ssdt-docker
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 | 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 | |
28 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=false | |
122 | 29 usasimport-base: |
121 | 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 | 32 environment: |
33 - DB_HOST=usasdb | |
34 - DB_NAME=usasdb | |
35 - DB_USER=usas | |
36 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | |
122 | 37 uspsdb-base: |
121 | 38 restart: unless-stopped |
127 | 39 image: docker.ssdt.io/ssdt-postgres:4 |
121 | 40 volumes: |
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 | 44 environment: |
45 - DB_NAME=uspsdb | |
46 - DB_USER=usps | |
47 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
122 | 48 uspsapp-base: |
121 | 49 restart: unless-stopped |
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 | 53 environment: |
54 - DB_HOST=uspsdb | |
55 - DB_NAME=uspsdb | |
56 - DB_USER=usps | |
57 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
58 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp | |
59 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true | |
60 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=0.0.0.0 | |
61 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=false | |
122 | 62 uspsimport-base: |
121 | 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 | 65 environment: |
66 - DB_HOST=uspsdb | |
67 - DB_NAME=uspsdb | |
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 |