Skip to content

Instantly share code, notes, and snippets.

@skord
Created January 3, 2017 22:12
Show Gist options
  • Save skord/818c39c8b97592a79c08ae35d37dc0a5 to your computer and use it in GitHub Desktop.
Save skord/818c39c8b97592a79c08ae35d37dc0a5 to your computer and use it in GitHub Desktop.
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