1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-02-03 02:23:38 +08:00
Files
408CSFamily/docker-compose.yaml
2023-02-01 23:51:01 +08:00

26 lines
665 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '2'
services:
### 408CSFamily服务ip范围 172.30.0.200
408CSFamily:
image: registry.cn-hangzhou.aliyuncs.com/142vip/doc_book:408CSFamily-0.0.1
container_name: 408CSFamily
restart: on-failure
hostname: 408CSFamily
ports:
- "7000:80"
networks:
net:
ipv4_address: 172.30.0.100
## 创建桥接网络
networks:
## 桥接网络名称配合文件前缀最后为dev_test_env_net 参考https://www.jianshu.com/p/d70c61d45364
net:
driver: bridge
# external: true
ipam:
driver: default
config:
- subnet: 172.30.0.0/24
## 网关
gateway: 172.30.0.1