fix
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: emailbill
|
container_name: emailbill
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- all_in
|
- all_in
|
||||||
ports:
|
ports:
|
||||||
- "14904:8080"
|
- 8080:8080
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://+:8080
|
- ASPNETCORE_URLS=http://+:8080
|
||||||
@@ -16,6 +16,20 @@
|
|||||||
- /wd/apps/vols/emailbill/database:/app/database
|
- /wd/apps/vols/emailbill/database:/app/database
|
||||||
- /wd/apps/vols/emailbill/logs:/app/logs
|
- /wd/apps/vols/emailbill/logs:/app/logs
|
||||||
|
|
||||||
|
nas_robot_proxy:
|
||||||
|
image: beevelop/nginx-basic-auth:v2023.10.1
|
||||||
|
container_name: emailbill_proxy
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- all_in
|
||||||
|
ports:
|
||||||
|
- 14904:80 # 开放端口
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- HTPASSWD=suncheng:$$apr1$$2QX32QHP$$HIGAbCuTt8jxdc4uDzNLI1
|
||||||
|
- FORWARD_PORT=8080
|
||||||
|
- FORWARD_HOST=emailbill
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
all_in:
|
all_in:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user