diff --git a/docker/instock/docker-compose-lh.yml b/docker/instock/docker-compose-lh.yml index aa1d135..8139841 100644 --- a/docker/instock/docker-compose-lh.yml +++ b/docker/instock/docker-compose-lh.yml @@ -16,12 +16,14 @@ services: db_database: instockdb db_port: 3306 + network_mode: host # 使用主机模式,访问外网 + volumes: - /cosdata/instock:/cosdata # 挂载一个通用的主机目录 - networks: - - host + #networks: + # - 1panel-network -networks: - host: - external: true \ No newline at end of file +#networks: +# 1panel-network: +# external: true \ No newline at end of file