nquest/docker-compose.yml

24 lines
355 B
YAML
Raw Normal View History

2024-01-05 03:50:33 +03:00
version: '3.8'
volumes:
postgres-data:
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- 8989:8989
depends_on:
- db
env_file:
- .env
2024-01-05 03:50:33 +03:00
db:
image: postgres:15-alpine3.17
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
env_file:
- .env