mirror of
https://github.com/mirego/accent.git
synced 2024-10-26 18:39:53 +03:00
25 lines
521 B
YAML
25 lines
521 B
YAML
version: '3.7'
|
|
services:
|
|
application:
|
|
container_name: accent
|
|
network_mode: "host"
|
|
build: .
|
|
ports:
|
|
- 4000:4000
|
|
depends_on:
|
|
- postgresql
|
|
environment:
|
|
- PORT=4000
|
|
- DATABASE_URL=postgres://postgres@localhost:5432/accent_development
|
|
postgresql:
|
|
image: postgres:15.6
|
|
container_name: accent-postgres
|
|
environment:
|
|
- POSTGRES_DB=accent_development
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- accent_psql:/var/lib/postgresql/data
|
|
volumes:
|
|
accent_psql:
|