super-graph/examples/rails-app/demo.yml

30 lines
569 B
YAML
Raw Normal View History

2019-03-27 05:14:07 +01:00
version: '3.4'
services:
db:
image: postgres
2019-04-18 05:35:08 +02:00
tmpfs: /var/lib/postgresql/data
2020-04-18 23:46:40 +02:00
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
2019-08-04 08:23:23 +02:00
rails_app:
2019-04-11 07:10:51 +02:00
image: dosco/super-graph-demo:latest
environment:
RAILS_ENV: "development"
2019-04-18 05:35:08 +02:00
tmpfs: /app/tmp/pids
2019-03-27 05:14:07 +01:00
ports:
- "3000:3000"
depends_on:
- db
2019-08-04 08:23:23 +02:00
super_graph:
image: dosco/super-graph:latest
environment:
GO_ENV: "development"
ports:
- "8080:8080"
depends_on:
- db
- rails_app