-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
27 lines (25 loc) · 720 Bytes
/
Copy pathcompose.yml
File metadata and controls
27 lines (25 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ModellGarage — Podman/Docker Compose
# Start: podman compose up -d --build
# Stop: podman compose down
# Läuft unter Podman auf Windows (Podman Desktop / WSL2).
services:
modellgarage:
build:
context: .
dockerfile: Containerfile
image: modellgarage:latest
container_name: modellgarage
ports:
- "8003:8003"
volumes:
# Persistenz: DB + Fotos überleben Container-Rebuilds
- modellgarage-data:/app/data
- modellgarage-media:/app/media
environment:
- APP_ENV=production
- DATABASE_URL=sqlite+aiosqlite:////app/data/modellgarage.db
- MEDIA_DIR=/app/media
restart: unless-stopped
volumes:
modellgarage-data:
modellgarage-media: