mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-13 13:05:22 +01:00
add network to docker compose
This commit is contained in:
parent
fcea7b4a31
commit
ea3ff8aba8
1 changed files with 8 additions and 1 deletions
|
@ -11,6 +11,8 @@ services:
|
|||
# for example: in the production server is pve-docer.net.mrlc.cc
|
||||
domainname: ${DNS_ZONE}
|
||||
pull_policy: build
|
||||
networks:
|
||||
- proxynet
|
||||
environment:
|
||||
# Leave /data unless you want to point to an external volume
|
||||
- DATA_PATH=/data
|
||||
|
@ -27,4 +29,9 @@ services:
|
|||
- "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"
|
||||
- "traefik.http.routers.so-un-bot.tls.certresolver=production"
|
||||
- "traefik.http.services.so-un-bot.loadbalancer.server.port=8001"
|
||||
|
||||
networks:
|
||||
proxynet:
|
||||
external: true
|
Loading…
Reference in a new issue