# HG changeset patch # User smith@nwoca.org # Date 1450121831 0 # Node ID c9a3e1f8d500b8664da5a90001dd82089794a799 # Parent b65e777478f3c5b5d6850ca8e9efaa3af04fbf51 add sample compose file diff -r b65e777478f3 -r c9a3e1f8d500 compose/sample/docker-compose.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compose/sample/docker-compose.yml Mon Dec 14 19:37:11 2015 +0000 @@ -0,0 +1,29 @@ +data: + image: busybox + volumes: + - ${PWD}/dbdata:/var/lib/postgresql/data + - ${PWD}/config:/config +db: + restart: always + image: djsmith/ssdt-postgres:1 + volumes_from: + - data + environment: + - DB_NAME=usasdb + - DB_USER=usas + - DB_PASS=PleaseDontUseExamplePasswords +app: + restart: always + image: djsmith/usas-app:snapshot + volumes_from: + - data + ports: + - "18004:8080" + links: + - db:database + environment: + - DB_HOST=database + - DB_NAME=$${DATABASE_ENV_DB_NAME} + - DB_USER=$${DATABASE_ENV_DB_USER} + - DB_PASS=$${DATABASE_ENV_DB_PASS} + diff -r b65e777478f3 -r c9a3e1f8d500 utils/Dockerfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/utils/Dockerfile Mon Dec 14 19:37:11 2015 +0000 @@ -0,0 +1,10 @@ +FROM ubuntu:latest + +MAINTAINER Dave Smith smith@nwoca.org + +RUN apt-get update -y + +RUN apt-get install -y mercurial \ + && apt-get install -y curl \ + && apt-get install -y vim \ + && apt-get install -y nano