Mercurial > public > ssdt-docker
annotate compose2/preview/usxs-services.yml @ 127:b1296e800108
DEP-12: update postgres image
author | smith@nwoca.org |
---|---|
date | Sat, 06 May 2017 19:05:39 +0100 |
parents | 6943c7dd91f6 |
children | c39100a00b5c |
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 | |
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} |
122 | 13 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
|
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 | |
122 | 25 usasimport-base: |
121 | 26 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
|
27 command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- } |
121 | 28 environment: |
29 - DB_HOST=usasdb | |
30 - DB_NAME=usasdb | |
31 - DB_USER=usas | |
32 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | |
122 | 33 uspsdb-base: |
121 | 34 restart: unless-stopped |
127 | 35 image: docker.ssdt.io/ssdt-postgres:4 |
121 | 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} | |
122 | 42 uspsapp-base: |
121 | 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 | |
122 | 54 uspsimport-base: |
121 | 55 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
|
56 command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- } ${IMP_ANON- } ${IMP_EM- } |
121 | 57 environment: |
58 - DB_HOST=uspsdb | |
59 - DB_NAME=uspsdb | |
60 - DB_USER=usps | |
124
6943c7dd91f6
DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents:
123
diff
changeset
|
61 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} |
6943c7dd91f6
DEP-12: fix handling of of default vars and volumes
smith@nwoca.org
parents:
123
diff
changeset
|
62 |