mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
a998f2048a
This reverts commit 1d7ef2700e
.
18 lines
333 B
YAML
18 lines
333 B
YAML
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:
|