Created
January 3, 2017 22:12
-
-
Save skord/818c39c8b97592a79c08ae35d37dc0a5 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
version: '2' | |
services: | |
maxapi: | |
build: . | |
command: jruby bin/rails s -p 9292 -b 0.0.0.0 | |
environment: | |
- MAXSCALE_MAXINFO_IP_PORT=10.190.0.116:8003 | |
- JRUBY_OPTS=--debug | |
ports: | |
- "9292:9292" | |
- "9876:9876" | |
volumes: | |
- .:/opt/maxadmin | |
volumes_from: | |
- container:mrmcompose_maxscale_1:ro | |
depends_on: | |
- redis | |
tty: true | |
stdin_open: true | |
redis: | |
image: redis | |
expose: | |
- 6379 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment