update
This commit is contained in:
parent
ae768749f2
commit
55b476b306
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"RTT_Studio.Build.Parallel_Jobs": "8"
|
||||||
|
}
|
|
@ -13,9 +13,12 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# 映射主机./conf.d目录到容器/etc/nginx/conf.d目录
|
# 映射主机./conf.d目录到容器/etc/nginx/conf.d目录
|
||||||
- "$PWD/nginx/conf.d:/etc/nginx/conf.d"
|
- "$PWD/nginx/conf.d:/etc/nginx/conf.d"
|
||||||
- "/sharedfolders/hd2/web/80:/var/www/html"
|
- "/srv/hd/pub/web/80:/var/www/html"
|
||||||
networks:
|
networks:
|
||||||
- web_net
|
- web_net
|
||||||
|
# networks:
|
||||||
|
# web_net:
|
||||||
|
# ipv4_address: 192.168.222.120
|
||||||
# 容器名称
|
# 容器名称
|
||||||
container_name: "web_nginx"
|
container_name: "web_nginx"
|
||||||
php:
|
php:
|
||||||
|
@ -25,7 +28,7 @@ services:
|
||||||
# ports:
|
# ports:
|
||||||
# - "9000:9000"
|
# - "9000:9000"
|
||||||
volumes:
|
volumes:
|
||||||
- "/sharedfolders/hd2/web/80:/var/www/html"
|
- "/srv/hd/pub/web/80:/var/www/html"
|
||||||
networks:
|
networks:
|
||||||
- web_net
|
- web_net
|
||||||
container_name: "php-fpm"
|
container_name: "php-fpm"
|
||||||
|
@ -42,11 +45,19 @@ services:
|
||||||
# # 固定子网ip,网段必须在子网络192.168.8.*
|
# # 固定子网ip,网段必须在子网络192.168.8.*
|
||||||
# ipv4_address: 192.168.8.6
|
# ipv4_address: 192.168.8.6
|
||||||
# container_name: "compose-mysql"
|
# container_name: "compose-mysql"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
# 配置docker network
|
# 配置docker network
|
||||||
web_net:
|
web_net:
|
||||||
driver: bridge
|
|
||||||
# ipam:
|
# networks:
|
||||||
# config:
|
# # 配置docker network
|
||||||
# # 子网络
|
# web_net:
|
||||||
# - subnet: 192.168.8.0/24
|
# driver: macvlan
|
||||||
|
# driver_opts:
|
||||||
|
# parent: ens18
|
||||||
|
# ipam:
|
||||||
|
# driver: default
|
||||||
|
# config:
|
||||||
|
# - subnet: 192.168.222.0/23
|
||||||
|
# gateway: 192.168.222.254
|
Loading…
Reference in New Issue