comparison compose/preview/usas.yml @ 16:e882fb87199a

DEP-7: add update script. set default restart on services to unless-stopped
author smith@nwoca.org
date Sun, 27 Dec 2015 23:01:13 +0000
parents 976b754592f4
children ebeaedb20e88
comparison
equal deleted inserted replaced
15:976b754592f4 16:e882fb87199a
1 # base compose file for USAS preview release 1 # base compose file for USAS preview release
2 usasdb: 2 usasdb:
3 restart: always 3 restart: unless-stopped
4 image: docker.ssdt.io/ssdt-postgres:2 4 image: docker.ssdt.io/ssdt-postgres:2
5 volumes: 5 volumes:
6 - ./backup:/backup 6 - ./backup:/backup
7 environment: 7 environment:
8 - DB_NAME=usasdb 8 - DB_NAME=usasdb
9 - DB_USER=usas 9 - DB_USER=usas
10 - DB_PASS=usasdefault 10 - DB_PASS=usasdefault
11 usasapp: 11 usasapp:
12 restart: always 12 restart: unless-stopped
13 image: docker.ssdt.io/usas-app:preview 13 image: docker.ssdt.io/usas-app:preview
14 volumes: 14 volumes:
15 - ./config:/config 15 - ./config:/config
16
17 environment: 16 environment:
18 - DB_HOST=database 17 - DB_HOST=database
19 - DB_NAME=$${DATABASE_ENV_DB_NAME} 18 - DB_NAME=$${DATABASE_ENV_DB_NAME}
20 - DB_USER=$${DATABASE_ENV_DB_USER} 19 - DB_USER=$${DATABASE_ENV_DB_USER}
21 - DB_PASS=$${DATABASE_ENV_DB_PASS} 20 - DB_PASS=$${DATABASE_ENV_DB_PASS}