26 lines
409 B
YAML
26 lines
409 B
YAML
version: '3.8'
|
|
|
|
volumes:
|
|
postgres-data:
|
|
storage:
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 8989:8989
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- storage:/app/store:rw
|
|
db:
|
|
image: postgres:15-alpine3.17
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
env_file:
|
|
- .env
|