2019-03-24 14:57:29 +01:00
|
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
|
2019-04-13 16:30:02 +02:00
|
|
|
# redis:
|
|
|
|
# image: redis:alpine
|
|
|
|
# command: ["redis-server", "--appendonly", "yes"]
|
|
|
|
# ports:
|
|
|
|
# - "6379:6379"
|
|
|
|
|
2019-03-24 14:57:29 +01:00
|
|
|
super_graph:
|
|
|
|
build:
|
|
|
|
context: .
|
2019-03-28 17:36:24 +01:00
|
|
|
target: go-build
|
2019-03-24 14:57:29 +01:00
|
|
|
environment:
|
|
|
|
GO_ENV: "development"
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
working_dir: /app
|
2019-03-28 03:01:02 +01:00
|
|
|
command: fresh -c fresh.conf
|
2019-06-06 14:57:00 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
2019-04-13 16:30:02 +02:00
|
|
|
|
2019-05-13 01:27:26 +02:00
|
|
|
rails_app:
|
2019-04-11 07:10:51 +02:00
|
|
|
build: rails-app/.
|
2019-03-24 14:57:29 +01:00
|
|
|
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
|
|
|
volumes:
|
2019-04-11 07:10:51 +02:00
|
|
|
- ./rails-app:/app
|
2019-06-14 06:32:15 +02:00
|
|
|
- /app/tmp
|
2019-03-24 14:57:29 +01:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
depends_on:
|
|
|
|
- db
|
2019-06-14 06:32:15 +02:00
|
|
|
- super_graph
|
|
|
|
|
2019-06-06 14:57:00 +02:00
|
|
|
# - redis
|