Mercurial > public > ssdt-docker
annotate compose3/preview/usxs-services.yml @ 121:cf5348287cf6
DEP-12: consolidate compose services
author | smith@nwoca.org |
---|---|
date | Sat, 06 May 2017 16:27:43 +0100 |
parents | compose3/preview/usas.yml@2e25338c847e |
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: |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
4 usasdb: |
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 |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
6 image: docker.ssdt.io/ssdt-postgres:3 |
121 | 7 volumes: |
8 - usasdata:/var/lib/postgresql/data | |
85
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
9 environment: |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
10 - 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
|
11 - DB_USER=usas |
110 | 12 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
85
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
13 usasapp: |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
14 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
|
15 image: docker.ssdt.io/usas-app:preview |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
16 environment: |
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
diff
changeset
|
17 - 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
|
18 - 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
|
19 - DB_USER=usas |
110 | 20 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
120 | 21 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=uspsapp |
22 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true | |
23 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0 | |
24 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=false | |
121 | 25 usasimport: |
26 image: docker.ssdt.io/usas-import:preview | |
27 command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} | |
28 environment: | |
29 - DB_HOST=usasdb | |
30 - DB_NAME=usasdb | |
31 - DB_USER=usas | |
32 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | |
33 uspsdb: | |
34 restart: unless-stopped | |
35 image: docker.ssdt.io/ssdt-postgres:3 | |
36 volumes: | |
37 - uspsdata:/var/lib/postgresql/data | |
38 environment: | |
39 - DB_NAME=uspsdb | |
40 - DB_USER=usps | |
41 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
42 uspsapp: | |
43 restart: unless-stopped | |
44 image: docker.ssdt.io/usps-app:preview | |
45 environment: | |
46 - DB_HOST=uspsdb | |
47 - DB_NAME=uspsdb | |
48 - DB_USER=usps | |
49 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
50 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp | |
51 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true | |
52 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=0.0.0.0 | |
53 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=false | |
54 uspsimport: | |
55 image: docker.ssdt.io/usps-import:preview | |
56 command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} ${IMP_ANON} ${IMP_EM} | |
57 environment: | |
58 - DB_HOST=uspsdb | |
59 - DB_NAME=uspsdb | |
60 - DB_USER=usps | |
61 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | |
62 volumes: | |
63 usasdata: | |
64 uspsdata: |