annotate compose/preview/usps.yml @ 26:93f2976a6c2f

add usas backup script
author Dave smith <smith@nwoca.org>
date Sun, 17 Jan 2016 19:53:40 -0500
parents cea023cef5b2
children ce113c143408
rev   line source
24
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
1 # base compose file for usps preview release
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
2 uspsdb:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
3 restart: unless-stopped
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
4 image: docker.ssdt.io/ssdt-postgres:2
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
5 volumes:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
6 - ${PWD}/backup:/backup
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
7 environment:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
8 - DB_NAME=uspsdb
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
9 - DB_USER=usps
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
10 - DB_PASS=uspsdefault
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
11 uspsapp:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
12 restart: unless-stopped
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
13 image: docker.ssdt.io/usps-app:preview
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
14 volumes:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
15 - ${PWD}/config:/config
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
16 environment:
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
17 - DB_HOST=database
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
18 - DB_NAME=$${DATABASE_ENV_DB_NAME}
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
19 - DB_USER=$${DATABASE_ENV_DB_USER}
cea023cef5b2 add usps preview compose files
smith@nwoca.org
parents:
diff changeset
20 - DB_PASS=$${DATABASE_ENV_DB_PASS}