0907
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
image: nginx:09051708
|
||||
container_name: nginx-proxy
|
||||
ports:
|
||||
- "8081:80"
|
||||
- "4430:443"
|
||||
volumes:
|
||||
- ./conf.d:/etc/nginx/conf.d:ro
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
# 配置已内嵌于镜像(构建时 COPY 进 /etc/nginx),故不挂载 conf.d
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- trim-default
|
||||
|
||||
networks:
|
||||
trim-default:
|
||||
external: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user