build(docker): 更新 docker-compose配置

- 将 Nginx 容器的端口映射改为使用环境变量 APP_PORT- 移除 frontend 服务的依赖
This commit is contained in:
黄建武
2025-05-12 16:13:05 +08:00
parent 1c848c727f
commit 3862c657b7
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ services:
container_name: bilinote-nginx
image: nginx:1.25-alpine
ports:
- "80:80"
- "${APP_PORT}:80"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
depends_on: