1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-10-31 12:28:59 +08:00
Files
408CSFamily/docker-compose.yaml

29 lines
683 B
YAML
Raw Permalink 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.
# ##
# ## 408CSFamily服务,ip范围 172.30.0.100
# ##
version: '2'
services:
408CSFamily:
image: registry.cn-hangzhou.aliyuncs.com/142vip/docs:408CSFamily-0.0.1-alpha.16
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