replace traefik by nginx-proxy
This commit is contained in:
parent
fa30ca55fe
commit
f608f060a0
8 changed files with 33 additions and 37 deletions
|
|
@ -12,12 +12,8 @@ services:
|
|||
restart: unless-stopped
|
||||
expose:
|
||||
- 80
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.shaarli.rule=Host(`${HOST_SHAARLI}.${DOMAIN}`)
|
||||
- traefik.http.routers.shaarli.entrypoints=websecure
|
||||
- traefik.http.routers.shaarli.tls=true
|
||||
- traefik.http.services.shaarli.loadbalancer.server.port=80
|
||||
environment:
|
||||
- VIRTUAL_HOST=${HOST_SHAARLI}.${DOMAIN}
|
||||
|
||||
volumes:
|
||||
shaarli-data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue