Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
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