perf: 默认映射443端口

This commit is contained in:
Pang 2024-03-06 01:01:12 +08:00
parent c96bad3cdf
commit 7ebf4fb9ce
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ APP_URL=http://localhost
APP_ID= APP_ID=
APP_IPPR= APP_IPPR=
APP_PORT=2222 APP_PORT=2222
APP_SSL_PORT=
APP_DEV_PORT= APP_DEV_PORT=
LOG_CHANNEL=stack LOG_CHANNEL=stack

View File

@ -36,6 +36,7 @@ services:
image: "nginx:alpine" image: "nginx:alpine"
ports: ports:
- "${APP_PORT}:80" - "${APP_PORT}:80"
- "${APP_SSL_PORT:-}:443"
volumes: volumes:
- ./docker/nginx:/etc/nginx/conf.d - ./docker/nginx:/etc/nginx/conf.d
- ./public:/var/www/public - ./public:/var/www/public