Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 333 Bytes
version: '3'
services:
db:
image: postgres
volumes:
- data:/var/lib/postgresql/data
web:
command: unicorn -c config/unicorn.rb
entrypoint: bin/wait-for-it.sh db:5432 -s --
environment:
DATABASE_URL: postgres://postgres@db/postgres
expose:
- '8080'
links:
- db
volumes:
data:
You can’t perform that action at this time.