accent/docker-compose.yml

25 lines
522 B
YAML
Raw Normal View History

version: '3.7'
2019-01-08 05:25:21 +03:00
services:
application:
image: mirego/accent
2019-01-08 05:25:21 +03:00
container_name: accent
build: .
2019-01-08 05:25:21 +03:00
ports:
- 4000:4000
depends_on:
- postgresql
environment:
- PORT=4000
- DATABASE_URL=postgres://postgres@postgresql:5432/accent_development
postgresql:
image: postgres:10.3
container_name: accent-postgres
environment:
- POSTGRES_DB=accent_development
ports:
- 5432:5432
volumes:
- accent_psql:/var/lib/postgresql/data
volumes:
accent_psql: