Mercurial > public > ssdt-docker
comparison 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 |
comparison
equal
deleted
inserted
replaced
127:b1296e800108 | 128:c39100a00b5c |
---|---|
4 usasdb-base: | 4 usasdb-base: |
5 restart: unless-stopped | 5 restart: unless-stopped |
6 image: docker.ssdt.io/ssdt-postgres:4 | 6 image: docker.ssdt.io/ssdt-postgres:4 |
7 volumes: | 7 volumes: |
8 - usasdata:/var/lib/postgresql/data | 8 - usasdata:/var/lib/postgresql/data |
9 networks: | |
10 - default | |
9 environment: | 11 environment: |
10 - DB_NAME=usasdb | 12 - DB_NAME=usasdb |
11 - DB_USER=usas | 13 - DB_USER=usas |
12 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | 14 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
13 usasapp-base: | 15 usasapp-base: |
14 restart: unless-stopped | 16 restart: unless-stopped |
15 image: docker.ssdt.io/usas-app:preview | 17 image: docker.ssdt.io/usas-app:preview |
18 networks: | |
19 - default | |
16 environment: | 20 environment: |
17 - DB_HOST=usasdb | 21 - DB_HOST=usasdb |
18 - DB_NAME=usasdb | 22 - DB_NAME=usasdb |
19 - DB_USER=usas | 23 - DB_USER=usas |
20 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} | 24 - DB_PASS=${USAS_DB_PASSWORD:-usasdefault} |
33 uspsdb-base: | 37 uspsdb-base: |
34 restart: unless-stopped | 38 restart: unless-stopped |
35 image: docker.ssdt.io/ssdt-postgres:4 | 39 image: docker.ssdt.io/ssdt-postgres:4 |
36 volumes: | 40 volumes: |
37 - uspsdata:/var/lib/postgresql/data | 41 - uspsdata:/var/lib/postgresql/data |
42 networks: | |
43 - default | |
38 environment: | 44 environment: |
39 - DB_NAME=uspsdb | 45 - DB_NAME=uspsdb |
40 - DB_USER=usps | 46 - DB_USER=usps |
41 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | 47 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} |
42 uspsapp-base: | 48 uspsapp-base: |
43 restart: unless-stopped | 49 restart: unless-stopped |
44 image: docker.ssdt.io/usps-app:preview | 50 image: docker.ssdt.io/usps-app:preview |
51 networks: | |
52 - default | |
45 environment: | 53 environment: |
46 - DB_HOST=uspsdb | 54 - DB_HOST=uspsdb |
47 - DB_NAME=uspsdb | 55 - DB_NAME=uspsdb |
48 - DB_USER=usps | 56 - DB_USER=usps |
49 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} | 57 - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} |