@@ -3,15 +3,15 @@ version: '3.8'
# 网络
networks:
default:
- name: default1-network
- external: false
- driver: host
+ name: default-network
+ external: true
services:
# nginx反向代理
nginx:
image: "registry.cn-chengdu.aliyuncs.com/infish/pack-comm-nginx:1.23.1"
restart: always
+ network_mode: host
ports:
- 18980:80
volumes: