Mercurial > public > ssdt-docker
comparison compose/sample/docker-compose.yml @ 90:63cb9be89a26 production v1.0.0
flow: Merged <release> 'v1.0.0' to <master> ('production').
author | smith@nwoca.org |
---|---|
date | Thu, 22 Sep 2016 01:49:20 +0100 |
parents | cf23acedd048 |
children |
comparison
equal
deleted
inserted
replaced
1:44f401c902ba | 90:63cb9be89a26 |
---|---|
1 data: | |
2 image: busybox | |
3 volumes: | |
4 - ${PWD}/dbdata:/var/lib/postgresql/data | |
5 - ${PWD}/config:/config | |
6 - ${PWD}/backup:/backup | |
7 db: | |
8 restart: always | |
9 image: djsmith/ssdt-postgres:1 | |
10 volumes_from: | |
11 - data | |
12 environment: | |
13 - DB_NAME=usasdb | |
14 - DB_USER=usas | |
15 - DB_PASS=PleaseDontUseExamplePasswords | |
16 app: | |
17 restart: always | |
18 image: djsmith/usas-app:snapshot | |
19 volumes_from: | |
20 - data | |
21 ports: | |
22 - "18004:8080" | |
23 links: | |
24 - db:database | |
25 environment: | |
26 - DB_HOST=database | |
27 - DB_NAME=$${DATABASE_ENV_DB_NAME} | |
28 - DB_USER=$${DATABASE_ENV_DB_USER} | |
29 - DB_PASS=$${DATABASE_ENV_DB_PASS} | |
30 |