logging
All checks were successful
Build and Push / build (push) Successful in 1m31s

This commit is contained in:
hook-lord 2024-09-14 07:08:07 +02:00
parent 014401aa90
commit 2bb533736c
2 changed files with 5 additions and 5 deletions

View File

@ -2,13 +2,13 @@ services:
confetti-api:
image: gitea.rannes.dev/rannes.dev/confetti-api:main
ports:
- 8020:8080
- 7070:7070
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.confetti-api.rule=Host(`confetti.rannes.dev`)
- traefik.http.services.confetti-api.loadbalancer.server.port=8020
- traefik.http.routers.jellyfinrouter.service=confetti-api
- traefik.http.services.confetti-api.loadbalancer.server.port=7070
- traefik.http.routers.confetti-api.service=confetti-api
- traefik.http.routers.confetti-api.tls=true
- traefik.http.routers.confetti-api.entryPoints=https
- traefik.http.middlewares.confetti-api-cors.headers.accesscontrolallowmethods=GET,OPTIONS

View File

@ -48,6 +48,6 @@ func main() {
http.HandleFunc("/events", SSEHandler)
http.HandleFunc("/trigger", TriggerHandler)
log.Println("Server running on port 8080")
log.Fatal(http.ListenAndServe(":8080", nil))
log.Println("Server running on port 7070")
log.Fatal(http.ListenAndServe(":7070", nil))
}