slimmed and fixed deployment step
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user