mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-14 12:46:15 +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
|
# for example: in the production server is pve-docer.net.mrlc.cc
|
||||||
domainname: ${DNS_ZONE}
|
domainname: ${DNS_ZONE}
|
||||||
pull_policy: build
|
pull_policy: build
|
||||||
|
networks:
|
||||||
|
- proxynet
|
||||||
environment:
|
environment:
|
||||||
# Leave /data unless you want to point to an external volume
|
# Leave /data unless you want to point to an external volume
|
||||||
- DATA_PATH=/data
|
- DATA_PATH=/data
|
||||||
|
@ -28,3 +30,8 @@ services:
|
||||||
- "traefik.http.routers.so-un-bot.rule=Host(`so-un-bot.srv.mrlc.cc`)"
|
- "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=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