version: '3.4' services: db: image: postgres ports: - "5432:5432" # redis: # image: redis:alpine # command: ["redis-server", "--appendonly", "yes"] # ports: # - "6379:6379" rails_app: build: examples/rails-app/. command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'" volumes: - ./examples/rails-app:/app - /app/tmp ports: - "3000:3000" depends_on: - db super_graph: build: context: . target: go-build environment: GO_ENV: "development" PORT: 8080 ports: - "8080:8080" volumes: - .:/app working_dir: /app command: wtc depends_on: - db - rails_app # - redis