network fix

This commit is contained in:
indifferentketchup
2026-04-07 10:21:03 -05:00
parent 5895d6e210
commit c9e2fac750
2 changed files with 13 additions and 5 deletions

View File

@@ -13,3 +13,9 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 15s start_period: 15s
networks:
- broccoli-net
networks:
broccoli-net:
name: broccoli-net

View File

@@ -6,8 +6,10 @@ services:
env_file: ../.env env_file: ../.env
ports: ports:
- "100.114.205.53:12752:12752" - "100.114.205.53:12752:12752"
network_mode: host networks:
# network_mode: host is needed so the settings site can reach - broccoli-net
# 127.0.0.1:12753 (the bot's internal API). If running both as
# Docker containers on the same host, use a shared Docker network networks:
# instead and reference the bot container by name. broccoli-net:
name: broccoli-net
external: true