You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
413 B
YAML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

version: '3.4'
services:
nginx:
build:
context: ../
dockerfile: ./docker/nginx/Dockerfile
image: admin_net_web:1.2
ports:
- 81:80
restart: "always"
volumes:
- node_modules:/build/node_modules:rw
# network_mode: host #宿主网络与宿主机共享网络安全性不佳本地开发使用不支持windows仅支持Linux
volumes:
node_modules: