Skip to content

Instantly share code, notes, and snippets.

@alexwelch
Last active August 29, 2015 14:18
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 alexwelch/0151dd1e0da5aec4abca to your computer and use it in GitHub Desktop.
Save alexwelch/0151dd1e0da5aec4abca to your computer and use it in GitHub Desktop.
---
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
ports:
- "80:3000"
volumes:
- "/var/run/docker.sock:/run/docker.sock"
- "/var/panamax-data:/var/app/panamax-api/db/mnt"
@bdehamer
Copy link

bdehamer commented Apr 7, 2015

Looks amazing, you are the best developer in the world!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment