slimmed and fixed deployment step
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s

This commit is contained in:
2025-06-01 21:26:37 +02:00
parent 1376c3763f
commit f8d5dc42ce
2 changed files with 6 additions and 4 deletions

View File

@@ -1,8 +1,11 @@
version: '3'
services:
blog:
build: .
image: nginx:alpine
restart: always
volumes:
- ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- web
labels:
@@ -16,9 +19,7 @@ services:
- "traefik.http.routers.blog.middlewares=blog-redirect"
- "traefik.http.middlewares.blog-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.blog-redirect.redirectscheme.permanent=true"
- "traefik.docker.network=web"
networks:
web:
external: true