super-graph/docker-compose.yml

30 lines
547 B
YAML

version: '3.4'
services:
db:
image: postgres
super_graph:
build:
context: .
target: go-build
environment:
GO_ENV: "development"
depends_on:
- db
ports:
- "8080:8080"
volumes:
- .:/app
working_dir: /app
command: fresh -c fresh.conf
web:
build: rails-app/.
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
volumes:
- ./rails-app:/app
ports:
- "3000:3000"
depends_on:
- db
- super_graph