annotate compose/preview/usas.yml @ 25:727f4cbded5e

add usps backup script
author Dave smith <smith@nwoca.org>
date Sun, 17 Jan 2016 19:50:35 -0500
parents ebeaedb20e88
children ce113c143408
rev   line source
14
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
1 # base compose file for USAS preview release
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
2 usasdb:
16
e882fb87199a DEP-7: add update script. set default restart on services to unless-stopped
smith@nwoca.org
parents: 15
diff changeset
3 restart: unless-stopped
14
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
4 image: docker.ssdt.io/ssdt-postgres:2
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
5 volumes:
19
ebeaedb20e88 DEP-7: change local volumes to use PWD rather than relative to template
Dave smith <smith@nwoca.org>
parents: 16
diff changeset
6 - ${PWD}/backup:/backup
14
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
7 environment:
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
8 - DB_NAME=usasdb
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
9 - DB_USER=usas
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
10 - DB_PASS=usasdefault
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
11 usasapp:
16
e882fb87199a DEP-7: add update script. set default restart on services to unless-stopped
smith@nwoca.org
parents: 15
diff changeset
12 restart: unless-stopped
14
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
13 image: docker.ssdt.io/usas-app:preview
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
14 volumes:
19
ebeaedb20e88 DEP-7: change local volumes to use PWD rather than relative to template
Dave smith <smith@nwoca.org>
parents: 16
diff changeset
15 - ${PWD}/config:/config
14
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
16 environment:
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
17 - DB_HOST=database
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
18 - DB_NAME=$${DATABASE_ENV_DB_NAME}
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
19 - DB_USER=$${DATABASE_ENV_DB_USER}
5643072a1af9 DEP-7: formalize ssdt-utils image. add template preview usas compose file
smith@nwoca.org
parents:
diff changeset
20 - DB_PASS=$${DATABASE_ENV_DB_PASS}