# 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