add files for hosting with docker
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user