Skip to content

Instantly share code, notes, and snippets.

@patocox
Created March 31, 2015 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patocox/57624e5705ab44e99fb0 to your computer and use it in GitHub Desktop.
Save patocox/57624e5705ab44e99fb0 to your computer and use it in GitHub Desktop.
---
adapter:
blah: /var/fleet-adapter
command: rackup
environment:
- "FLEETCTL_ENDPOINT=http://172.17.42.1:4001"
ports:
- "9292:9292"
agent:
build: /var/panamax-remote-agent
command: |
/bin/bash -c \"bundle exec rake
db:create db:migrate && rails s
environment:
- REMOTE_AGENT_ID=username
- REMOTE_AGENT_API_KEY=password
- REMOTE_AGENT_VERSION=1
- RAILS_ENV=development
links:
- foo
ports:
- "3000:3000"
api:
build: /var/panamax-api
environment:
- ="cool"
- "JOURNAL_ENDPOINT=http://172.17.42.1:19531"
- RAILS_ENV=development
dns:
bah: 1
ports:
- "80:3000"
volumes:
- "/var/run/docker.sock:/run/docker.sock"
- "/var/panamax-data:/var/app/panamax-api/db/mnt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment