Skip to content

Instantly share code, notes, and snippets.

@jcpowermac
Last active February 10, 2016 23:03
Show Gist options
  • Select an option

  • Save jcpowermac/94dcbf52346e64b2e953 to your computer and use it in GitHub Desktop.

Select an option

Save jcpowermac/94dcbf52346e64b2e953 to your computer and use it in GitHub Desktop.
hanlon_docker_compose
---
mongo:
image: mongo
command: mongod --smallfiles
volumes:
- "/opt/hanlon/data/db:/data/db"
server:
image: "cscdock/hanlon"
ports:
- 8026:8026
links:
- mongo:mongo
privileged: true
volumes:
- "/opt/hanlon/image:/home/hanlon/image"
- "/opt/hanlon/cli/config:/home/hanlon/cli/config"
env_file: hanlon.env
# environment:
# DOCKER_HOST: "${DOCKER_HOST}"
# HANLON_SUBNETS: "${HANLON_SUBNETS}"
DOCKER_HOST=10.53.252.60
HANLON_SUBNETS=172.17.42.1/16,10.53.0.0/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment