comparison compose/preview/usas.yml @ 14:5643072a1af9

DEP-7: formalize ssdt-utils image. add template preview usas compose file
author smith@nwoca.org
date Sun, 27 Dec 2015 19:24:12 +0000
parents
children 976b754592f4
comparison
equal deleted inserted replaced
13:82b5ed864aee 14:5643072a1af9
1 # base compose file for USAS preview release
2 usasdb:
3 restart: always
4 image: docker.ssdt.io/ssdt-postgres:2
5 volumes:
6 - ./backup:/backup
7 environment:
8 - DB_NAME=usasdb
9 - DB_USER=usas
10 - DB_PASS=usasdefault
11 usasapp:
12 restart: always
13 image: docker.ssdt.io/usas-app:preview
14 volumes:
15 - ./config:/config
16 links:
17 - usasdb:database
18 environment:
19 - DB_HOST=database
20 - DB_NAME=$${DATABASE_ENV_DB_NAME}
21 - DB_USER=$${DATABASE_ENV_DB_USER}
22 - DB_PASS=$${DATABASE_ENV_DB_PASS}