Update README.md

This commit is contained in:
Paramtamtam 2020-07-16 12:15:57 +05:00 committed by GitHub
parent ea46e9f738
commit 5ab113ba1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: