chore: connect bot container to proxy_net for nginx reverse-proxy
This allows nginx-edge to reach the bot via service name on the shared proxy_net external network.
This commit is contained in:
@@ -10,10 +10,16 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- BOT_TOKEN=${BOT_TOKEN}
|
- BOT_TOKEN=${BOT_TOKEN}
|
||||||
- HTTP_PROXY=${HTTP_PROXY-}
|
- HTTP_PROXY=${HTTP_PROXY-}
|
||||||
|
- HTTPS_PROXY=${HTTPS_PROXY-}
|
||||||
- DB_PATH=/data/db.sqlite3
|
- DB_PATH=/data/db.sqlite3
|
||||||
volumes:
|
volumes:
|
||||||
- worktime_data:/data
|
- worktime_data:/data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: proxy_net
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
worktime_data:
|
worktime_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user