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

26 lines
678 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
environment:
- VIRTUAL_HOST=br.bauer.tech
- VIRTUAL_PORT=8000
env_file:
- blechreiz/.env
ports:
- "8000:8000" # only localhost; HTTPS handled by external proxy
restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true