Add docker-compose and nginx config

This commit is contained in:
Hermes Cron Job
2026-05-16 18:59:13 +00:00
parent 417f3311ef
commit f7cbc73a54
2 changed files with 30 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
version: '3.8'
services:
eurovision2026:
image: nginx:alpine
container_name: eurovision2026
ports:
- "3004:80"
volumes:
- ./index.html:/usr/share/nginx/html/index.html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
networks:
- hermes-network
networks:
hermes-network:
external: true
+12
View File
@@ -0,0 +1,12 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
error_page 404 /index.html;
}