dockerfiles
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user