Skip to content

Instantly share code, notes, and snippets.

@miguelgonz
Last active July 8, 2016 10:42
Show Gist options
  • Save miguelgonz/feaba854819cfa77dd0d2fc44e3444db to your computer and use it in GitHub Desktop.
Save miguelgonz/feaba854819cfa77dd0d2fc44e3444db to your computer and use it in GitHub Desktop.
Docker-compose for tr ci-cd
version: '2'
services:
frontend:
image: uncinimichel/unicorn-front:0.0.3
ports:
- "8080:8080"
links:
- backend
environment:
BACKEND_HOST: backend
backend:
image: uncinimichel/unicorn-back:0.0.2
ports:
- "8888:8080"
links:
- db
environment:
spring.data.mongodb.uri: mongodb://db/unicodn
db:
image: tutum/mongodb:3.2
environment:
AUTH: 'no'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment