Skip to content

Instantly share code, notes, and snippets.

@erikwiffin
Created October 27, 2016 18:31
Show Gist options
  • Save erikwiffin/c3efd9dfcc081885646ed218a178a927 to your computer and use it in GitHub Desktop.
Save erikwiffin/c3efd9dfcc081885646ed218a178a927 to your computer and use it in GitHub Desktop.
version: '2'
services:
smart:
build:
context: /home/ubuntu/auth-proxy/
dockerfile: Dockerfile
environment:
- BASE_URL=http://api.dev.syncfor.science:9000
volumes:
- "/home/ubuntu/auth-proxy/:/usr/src/app"
ports:
- "9000:5000"
tasks:
app:
build:
context: /home/ubuntu/reference-research-app/
dockerfile: Dockerfile
ports:
- "9001:5000"
volumes:
- "/home/ubuntu/reference-research-app/:/usr/src/app"
environment:
- VIRTUAL_HOST=app.dev.syncfor.science:9001
- ES_URL=https://search-s4s-logs-xsjsafiwd7vkpiucmjqmdjkp7y.us-west-2.es.amazonaws.com/reference-research-app/log/
api:
ports:
- "9002:8080"
tests:
build:
context: /home/ubuntu/behave-testsuite/
dockerfile: Dockerfile
ports:
- "9003:5000"
volumes:
- "/home/ubuntu/behave-testsuite/:/usr/src/app"
environment:
- VIRTUAL_HOST=tests.dev.syncfor.science:9003
- ES_URL=https://search-s4s-logs-xsjsafiwd7vkpiucmjqmdjkp7y.us-west-2.es.amazonaws.com/test-suite/log/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment