sss
All checks were successful
Build and Deploy koneko.rocks / build-and-deploy (push) Successful in 3s

This commit is contained in:
koneko 2025-04-23 18:06:40 +02:00
parent 9cb8b2e4f1
commit c145bfb9a7

View File

@ -1,15 +1,19 @@
services: services:
web: web:
image: nginx:alpine # Use the official NGINX Alpine image container_name: koneko-landing
volumes: restart: unless-stopped
- ./index.html:/usr/share/nginx/html/index.html # Map the local index.html to the container's directory build:
context: .
dockerfile: Dockerfile
labels: labels:
- "traefik.enable=true" # Enable this container to be routed by Traefik - "traefik.enable=true"
- "traefik.http.routers.myapp.rule=Host(`koneko.rocks`)" - "traefik.http.routers.koneko.rule=Host(`koneko.rocks`)"
- "traefik.http.services.myapp.loadbalancer.server.port=80" # Expose the NGINX container on port 80 - "traefik.http.routers.koneko.entrypoints=websecure"
- "traefik.http.routers.koneko.tls=true"
- "traefik.http.routers.koneko.tls.certresolver=letsencrypt"
- "traefik.http.services.koneko.loadbalancer.server.port=80"
networks: networks:
- frontend # Connect this service to the same network as Traefik - frontend
restart: unless-stopped # Optionally restart the container if it stops
networks: networks:
frontend: frontend: