Skip to content

Instantly share code, notes, and snippets.

@stanislavb
Last active April 14, 2016 13:27
Show Gist options
  • Save stanislavb/b1e18966f11b026fa082445df169eeed to your computer and use it in GitHub Desktop.
Save stanislavb/b1e18966f11b026fa082445df169eeed to your computer and use it in GitHub Desktop.
roleTerminal Docker Cloud stack file with vhost proxy
nginx-proxy:
image: 'jwilder/nginx-proxy:latest'
deployment_strategy: every_node
ports:
- '80:80'
restart: always
volumes:
- '/var/run/docker.sock:/tmp/docker.sock:ro'
db:
image: 'mongo:latest'
volumes:
- /data/db
rolehaven:
image: 'yxeri/roleterminal:latest'
environment:
- 'CONFIGPATH=yxeri/roleHaven-config#bbr-larp'
- DBHOST=db
- FORCEFULLSCREEN=false
- GPSTRACKING=false
- MODE=dev
- REQUIREVERIFY=false
- TZ=Europe/Stockholm
- VIRTUAL_HOST=bbr.dockerline.com
links:
- db
restart: always
autoredeploy: true
sequential_deployment: true
target_num_containers: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment