25 lines
447 B
YAML
25 lines
447 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: family_safety_db
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: family_safety
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
app:
|
|
build: .
|
|
container_name: family_safety_app
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
|
|
volumes:
|
|
postgres_data:
|