view compose/preview/training.yml @ 169:2d71e4c24606 hotfix/v1.2.1

add example nginx-override
author smith@nwoca.org
date Fri, 18 Aug 2017 19:24:01 +0100
parents 809ba4a960bc
children
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
    - JAVA_OPTS=-Xmx640m
  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
    - JAVA_OPTS=-Xmx640m
  links:
    - uspsdb:usps-database