Last active
August 29, 2015 14:18
-
-
Save alexwelch/0151dd1e0da5aec4abca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks amazing, you are the best developer in the world!!!!