mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
Update README.md
This commit is contained in:
parent
ea46e9f738
commit
5ab113ba1a
13
README.md
13
README.md
@ -123,18 +123,13 @@ services:
|
|||||||
error-pages:
|
error-pages:
|
||||||
image: tarampampam/error-pages:1.2.0
|
image: tarampampam/error-pages:1.2.0
|
||||||
environment:
|
environment:
|
||||||
TEMPLATE_NAME: ghost
|
TEMPLATE_NAME: l7-dark
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 32M
|
|
||||||
reservations:
|
|
||||||
memory: 16M
|
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: 'true'
|
traefik.enable: 'true'
|
||||||
traefik.docker.network: traefik-public
|
traefik.docker.network: traefik-public
|
||||||
@ -153,6 +148,8 @@ services:
|
|||||||
|
|
||||||
any-another-http-service:
|
any-another-http-service:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
@ -165,9 +162,7 @@ services:
|
|||||||
traefik.http.routers.another-service.entrypoints: https
|
traefik.http.routers.another-service.entrypoints: https
|
||||||
# next line is important
|
# next line is important
|
||||||
traefik.http.routers.another-service.middlewares: error-pages-middleware@docker
|
traefik.http.routers.another-service.middlewares: error-pages-middleware@docker
|
||||||
traefik.http.services.another-service.loadbalancer.server.port: 8080
|
traefik.http.services.another-service.loadbalancer.server.port: 80
|
||||||
networks:
|
|
||||||
- traefik-public
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik-public:
|
traefik-public:
|
||||||
|
Loading…
Reference in New Issue
Block a user