view compose/preview/training.yml @ 44:e5ba33051de7

add scripts and compose file for importing from server
author Dave smith <smith@nwoca.org>
date Wed, 27 Jan 2016 17:19:19 -0500
parents 297b56dfba19
children 809ba4a960bc
line wrap: on
line source
usasdb:
  restart: unless-stopped
  image: docker.ssdt.io/trainingdb-usas
  environment:
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault
usasapp:
  restart: unless-stopped
  image: docker.ssdt.io/usas-app:preview
  volumes:
    - ${PWD}/config:/config
  environment:
    - DB_HOST=usas-database
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault
  links:
    - usasdb:usas-database
uspsdb:
  restart: unless-stopped
  image: docker.ssdt.io/trainingdb-usps
  environment:
    - DB_NAME=uspsdb
    - DB_USER=usps
    - DB_PASS=uspsdefault
uspsapp:
  restart: unless-stopped
  image: docker.ssdt.io/usps-app:preview
  volumes:
    - ${PWD}/config:/config
  environment:
    - DB_HOST=usps-database
    - DB_NAME=uspsdb
    - DB_USER=usps
    - DB_PASS=uspsdefault
  links:
    - uspsdb:usps-database