frankfurter/docker-compose.yml
Hakan Ensari 3319c49dca Spring clean code base
- Bump ruby version
- Remove obsolete files, including deploy artefacts
- Don't use pride when testing
- Store gem and app in same repo
- Switch to asdf
2017-11-09 23:30:13 +00:00

24 lines
471 B
YAML

version: '3'
services:
db:
image: postgres
volumes:
- data:/var/lib/postgresql/data
web:
build:
context: ./app
command: unicorn -c config/unicorn.rb
environment:
DATABASE_URL: postgres://postgres@db/postgres
entrypoint: ./wait-for-it.sh db:5432 -s --
expose:
- '8080'
links:
- db
nginx-proxy:
image: jwilder/nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
volumes:
data: