From 043083c89b041bad65101b8bf1c9699de07d6f3f Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 19 Feb 2023 20:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'docker-compose.yml=20'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cd4a35d..e8746de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: HOSTNAME=lms.jingweiht.com DEBIAN_FRONTEND=noninteractive + network_mode: "host" + greenlight: image: onenetcom/greenlight restart: unless-stopped @@ -22,8 +24,9 @@ services: BIGBLUEBUTTON_SECRET: ${SHARED_SECRET} SECRET_KEY_BASE: ${RAILS_SECRET} + network_mode: "host" ports: - - 10.7.7.1:5000:80 + - 127.0.0.1:5000:80 postgres: image: postgres:12-alpine