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