Files
blechreiz-website/docker-compose.yml
2026-04-09 15:13:08 +02:00

19 lines
548 B
YAML

# Usage:
# cd /docker/websites/blechreiz
# docker compose up -d --build # first start / after Dockerfile changes
# git pull && docker compose restart # deploy new code (entrypoint handles the rest)
services:
blechreiz:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app # git repo is the live source
env_file:
- blechreiz/.env
ports:
- "127.0.0.1:8000:8000" # only localhost; HTTPS handled by external proxy
restart: unless-stopped