dockerfiles

This commit is contained in:
2026-04-09 15:13:08 +02:00
parent 377e73a491
commit 4c92a97759
3 changed files with 51 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
# 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