network fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user