super-graph/rails-app/demo.yml
2019-08-04 02:23:23 -04:00

25 lines
457 B
YAML

version: '3.4'
services:
db:
image: postgres
tmpfs: /var/lib/postgresql/data
rails_app:
image: dosco/super-graph-demo:latest
environment:
RAILS_ENV: "development"
tmpfs: /app/tmp/pids
ports:
- "3000:3000"
depends_on:
- db
super_graph:
image: dosco/super-graph:latest
environment:
GO_ENV: "development"
ports:
- "8080:8080"
depends_on:
- db
- rails_app