comparison pilot/training.yml @ 212:4de5e1a4637c

DEP-12: add training.yml and training.sh setup script for pilot training instances
author smith@nwoca.org
date Fri, 06 Oct 2017 21:24:55 +0100
parents de0771f14dd0
children 7e24501da32b
comparison
equal deleted inserted replaced
209:df5822269cdb 212:4de5e1a4637c
1 usasdb: 1 # **** DO NOT MODIFY THIS FILE. ****"
2 restart: unless-stopped 2 # Place customizations in docker-compose.override.yml and .env
3 image: docker.ssdt.io/trainingdb-usas 3 version: "3.3"
4 environment: 4 services:
5 - DB_NAME=usasdb 5 usasdb:
6 - DB_USER=usas 6 restart: unless-stopped
7 - DB_PASS=usasdefault 7 image: docker.ssdt.io/trainingdb-usas:pilot
8 usasapp: 8 networks:
9 restart: unless-stopped 9 - default
10 image: docker.ssdt.io/usas-app:${USAS_TAG:-pilot} 10 environment:
11 volumes: 11 - DB_NAME=usasdb
12 - ${PWD}/config:/config 12 - DB_USER=usas
13 environment: 13 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
14 - DB_HOST=usas-database 14 usasapp:
15 - DB_NAME=usasdb 15 restart: unless-stopped
16 - DB_USER=usas 16 image: docker.ssdt.io/usas-app:${USAS_TAG:-pilot}
17 - DB_PASS=usasdefault 17 depends_on:
18 - JAVA_OPTS=-Xmx640m 18 - usasdb
19 links: 19 networks:
20 - usasdb:usas-database 20 default:
21 uspsdb: 21 aliases:
22 restart: unless-stopped 22 - ${USAS_APP_HOST:-usasapp-svr}
23 image: docker.ssdt.io/trainingdb-usps 23 environment:
24 environment: 24 - DB_HOST=usasdb
25 - DB_NAME=uspsdb 25 - DB_NAME=usasdb
26 - DB_USER=usps 26 - DB_USER=usas
27 - DB_PASS=uspsdefault 27 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
28 uspsapp: 28 - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
29 restart: unless-stopped 29 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=${USPS_APP_HOST:-uspsapp-svr}
30 image: docker.ssdt.io/usps-app:${USPS_TAG:-pilot} 30 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
31 volumes: 31 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
32 - ${PWD}/config:/config 32 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOSTDNSLOOKUP=false
33 environment: 33 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APPLICATIONID=${USAS_APPLICATIONID:- }
34 - DB_HOST=usps-database 34 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APIKEY=${USAS_APIKEY:- }
35 - DB_NAME=uspsdb 35 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPPLICATIONID=${USPS_APPLICATIONID:- }
36 - DB_USER=usps 36 - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPIKEY=${USPS_APIKEY:- }
37 - DB_PASS=uspsdefault 37 - JAVA_OPTS=-Xmx840m
38 - JAVA_OPTS=-Xmx640m 38 uspsdb:
39 links: 39 restart: unless-stopped
40 - uspsdb:usps-database 40 image: docker.ssdt.io/trainingdb-usps:pilot
41 41 networks:
42 - default
43 environment:
44 - DB_NAME=uspsdb
45 - DB_USER=usps
46 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
47 uspsapp:
48 restart: unless-stopped
49 image: docker.ssdt.io/usps-app:${USPS_TAG:-pilot}
50 depends_on:
51 - uspsdb
52 networks:
53 default:
54 aliases:
55 - ${USPS_APP_HOST:-uspsapp-svr}
56 environment:
57 - DB_HOST=uspsdb
58 - DB_NAME=uspsdb
59 - DB_USER=usps
60 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
61 - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
62 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=${USAS_APP_HOST:-usasapp-svr}
63 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
64 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOST=0.0.0.0
65 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOSTDNSLOOKUP=false
66 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APPLICATIONID=${USPS_APPLICATIONID:- }
67 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APIKEY=${USPS_APIKEY:- }
68 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPPLICATIONID=${USAS_APPLICATIONID:- }
69 - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPIKEY=${USAS_APIKEY:- }
70 - JAVA_OPTS=-Xmx840m