Add port and label

This commit is contained in:
Gal 2025-01-04 16:51:58 +01:00
parent 10dc187839
commit 0a589b6c63
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,8 @@ services:
nginx_recipes: nginx_recipes:
image: nginx:mainline-alpine image: nginx:mainline-alpine
restart: always restart: always
ports:
- "9091:80"
env_file: env_file:
- ./.env - ./.env
volumes: volumes:
@ -39,6 +41,11 @@ services:
- "traefik.http.routers.recipes.rule=Host(`recipes.velouria.dev`)" - "traefik.http.routers.recipes.rule=Host(`recipes.velouria.dev`)"
- "traefik.http.routers.recipes.entrypoints=websecure" - "traefik.http.routers.recipes.entrypoints=websecure"
- "traefik.http.routers.recipes.tls.certresolver=myresolver" - "traefik.http.routers.recipes.tls.certresolver=myresolver"
- "traefik.http.services.recipes.loadbalancer.server.port=80"
- "traefik.docker.network=traefik_network"
- "homepage.group=Utilities"
- "homepage.name=Recipes"
- "homepage.description=Bookmark"
depends_on: depends_on:
- web_recipes - web_recipes
networks: networks: