Added API endpoints and dockerfile

This commit is contained in:
Lukian 2025-03-24 10:17:37 +01:00
parent 924e55b4f3
commit 5ddad2ed61
31 changed files with 3885 additions and 942 deletions

14
docker-compose.yml Normal file
View file

@ -0,0 +1,14 @@
services:
forum:
build:
context: .
network: host
restart: always
container_name: forum
labels:
- "traefik.enable=true"
- "traefik.http.routers.forum.rule=Host(`forum.tanuki91.fr`)"
- "traefik.http.routers.forum.entrypoints=websecure"
- "traefik.http.routers.forum.tls=true"
- "traefik.http.routers.forum.tls.certresolver=myresolver"
- "traefik.http.services.forum.loadbalancer.server.port=80"