mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-13 12:45:22 +01:00
Add Traefik labels to docker compose
This commit is contained in:
parent
4d56d71aa2
commit
fcea7b4a31
1 changed files with 8 additions and 1 deletions
|
@ -19,5 +19,12 @@ services:
|
|||
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
|
||||
# User id of the administrator user (will receive logs for errors)
|
||||
- TELEGRAM_ADMIN_ID=${TELEGRAM_ADMIN_ID}
|
||||
- WEB_BASE_URL=https://so-un-bot.srv.mrlc.cc
|
||||
volumes:
|
||||
- ${ACL_DIR}:/acl
|
||||
- ${ACL_DIR}:/acl
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.so-un-bot.entrypoints=web, websecure"
|
||||
- "traefik.http.routers.so-un-bot.rule=Host(`so-un-bot.srv.mrlc.cc`)"
|
||||
- "traefik.http.routers.so-un-bot.tls=true"
|
||||
- "traefik.http.routers.so-un-bot.tls.certresolver=production"
|
Loading…
Reference in a new issue