diff --git a/docker-compose.yml b/docker-compose.yml index 1a09fbb..be99ee1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + - ${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" \ No newline at end of file