Mercurial > public > ssdt-docker
comparison compose/preview/usas.yml @ 19:ebeaedb20e88
DEP-7: change local volumes to use PWD rather than relative to template
author | Dave smith <smith@nwoca.org> |
---|---|
date | Sun, 27 Dec 2015 18:23:31 -0500 |
parents | e882fb87199a |
children | ce113c143408 |
comparison
equal
deleted
inserted
replaced
18:459ef905cbd5 | 19:ebeaedb20e88 |
---|---|
1 # base compose file for USAS preview release | 1 # base compose file for USAS preview release |
2 usasdb: | 2 usasdb: |
3 restart: unless-stopped | 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 - ${PWD}/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: unless-stopped | 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 - ${PWD}/config:/config |
16 environment: | 16 environment: |
17 - DB_HOST=database | 17 - DB_HOST=database |
18 - DB_NAME=$${DATABASE_ENV_DB_NAME} | 18 - DB_NAME=$${DATABASE_ENV_DB_NAME} |
19 - DB_USER=$${DATABASE_ENV_DB_USER} | 19 - DB_USER=$${DATABASE_ENV_DB_USER} |
20 - DB_PASS=$${DATABASE_ENV_DB_PASS} | 20 - DB_PASS=$${DATABASE_ENV_DB_PASS} |