2019-03-24 09:57:29 -04:00
|
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
db:
|
2020-02-23 21:32:22 +01:00
|
|
|
image: postgres:12
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2020-02-24 02:37:21 +05:30
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2019-03-24 09:57:29 -04:00
|
|
|
|
2019-04-13 10:30:02 -04:00
|
|
|
# redis:
|
|
|
|
# image: redis:alpine
|
|
|
|
# command: ["redis-server", "--appendonly", "yes"]
|
|
|
|
# ports:
|
|
|
|
# - "6379:6379"
|
|
|
|
|
2019-10-01 00:00:15 -04:00
|
|
|
rails_app:
|
2019-10-02 22:49:58 -04:00
|
|
|
build: examples/rails-app/.
|
2019-10-01 00:00:15 -04:00
|
|
|
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
|
|
|
volumes:
|
2019-10-02 22:49:58 -04:00
|
|
|
- ./examples/rails-app:/app
|
2019-10-01 00:00:15 -04:00
|
|
|
- /app/tmp
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
depends_on:
|
|
|
|
- db
|
2019-08-04 02:23:23 -04:00
|
|
|
|
2019-03-24 09:57:29 -04:00
|
|
|
super_graph:
|
|
|
|
build:
|
|
|
|
context: .
|
2019-03-28 12:36:24 -04:00
|
|
|
target: go-build
|
2019-03-24 09:57:29 -04:00
|
|
|
environment:
|
|
|
|
GO_ENV: "development"
|
2019-07-30 01:38:05 -04:00
|
|
|
PORT: 8080
|
2019-03-24 09:57:29 -04:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
working_dir: /app
|
2019-10-25 01:39:59 -04:00
|
|
|
command: wtc
|
2019-06-06 08:57:00 -04:00
|
|
|
depends_on:
|
|
|
|
- db
|
2019-12-25 01:24:30 -05:00
|
|
|
# - rails_app
|
2019-06-14 00:32:15 -04:00
|
|
|
|
2019-06-06 08:57:00 -04:00
|
|
|
# - redis
|