Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (25 sloc) 538 Bytes
version: '3.0'
services:
web:
container_name: web
build: .
ports:
- 4000:4000
external_links:
- db
depends_on:
- db
env_file:
- development.env
volumes:
- .:/usr/src/app
# allow attaching directly to the container, for debugging
# see http://stackoverflow.com/questions/35211638/how-to-debug-a-rails-app-in-docker-with-pry
tty: true
stdin_open: true
db:
image: postgres
env_file:
- development.env
volumes:
- ./postgres:/var/lib/postgresql
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.