super-graph/docker-compose.image.yml

24 lines
445 B
YAML
Raw Normal View History

2019-03-27 05:14:07 +01:00
version: '3.4'
services:
db:
image: postgres
super_graph:
image: dosco/super-graph:latest
environment:
GO_ENV: "development"
depends_on:
- db
ports:
- "8080:8080"
web:
build: example/.
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
volumes:
- ./example:/app
ports:
- "3000:3000"
depends_on:
- db
- super_graph