Add Dockerfile and fix compose

This commit is contained in:
fibe 2026-04-24 14:08:27 +00:00
parent cb679d9f5f
commit 0c2d10c2a8
2 changed files with 9 additions and 4 deletions

2
Dockerfile Normal file
View File

@ -0,0 +1,2 @@
FROM nginx:alpine
COPY html/ /usr/share/nginx/html/

View File

@ -2,8 +2,11 @@ services:
web:
image: nginx:alpine
labels:
fibe.gg/exposure.enabled: "true"
fibe.gg/exposure.port: "80"
fibe.gg/repo_url: "https://git-next.fibe.live/viktorvsk/tower-defense"
fibe.gg/expose: "external:80"
fibe.gg/subdomain: "tower-defense"
fibe.gg/production: "false"
volumes:
- ./html:/usr/share/nginx/html:ro
fibe.gg/start_command: "nginx -g 'daemon off;'"
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80