add files for hosting with docker

This commit is contained in:
Tobias Nauen
2026-03-06 09:06:56 +01:00
parent a527f7aaf2
commit 6d7629705a
3 changed files with 87 additions and 0 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '1.0'
networks:
frontend:
external: true
services:
web:
image: nginx:latest
restart: unless-stopped
volumes:
- '/hdd/poketypes:/usr/share/nginx/html:ro'
networks:
- frontend
updater:
build:
context: .
dockerfile: Dockerfile.updater
volumes:
- /hdd/poketypes:/dist
environment:
- REPO_URL=https://git.nauen-it.de/tobias/Pokemon-Type-Quiz.git
- BRANCH=main
restart: unless-stopped