network fix
This commit is contained in:
@@ -13,3 +13,9 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
networks:
|
||||
- broccoli-net
|
||||
|
||||
networks:
|
||||
broccoli-net:
|
||||
name: broccoli-net
|
||||
|
||||
@@ -6,8 +6,10 @@ services:
|
||||
env_file: ../.env
|
||||
ports:
|
||||
- "100.114.205.53:12752:12752"
|
||||
network_mode: host
|
||||
# network_mode: host is needed so the settings site can reach
|
||||
# 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
|
||||
# instead and reference the bot container by name.
|
||||
networks:
|
||||
- broccoli-net
|
||||
|
||||
networks:
|
||||
broccoli-net:
|
||||
name: broccoli-net
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user