added traefik labels

This commit is contained in:
mr-shortman 2025-03-16 16:07:19 +01:00
parent 13904c9992
commit 5132ab81b7
2 changed files with 13 additions and 2 deletions

View File

@ -9,6 +9,6 @@ jobs:
deploy:
runs-on: linux
steps:
- name: Deploy to Server
- name: Test Step
run: |
ssh pablo@palumo.mrmoku.de "cd ~/opt/apps/pablo.shortman.me && git pull && docker compose down && docker compose up -d"
echo "Hello World from Gitea Actions!"

View File

@ -8,3 +8,14 @@ services:
ports:
- "3004:3004"
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextjs.rule=Host(`pablo.shortman.me`)"
- "traefik.http.routers.nextjs.entrypoints=websecure"
- "traefik.http.routers.nextjs.tls.certresolver=myresolver"
networks:
- traefik
networks:
traefik:
external: true