fix: web dist mount readable under Podman/SELinux
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -101,7 +101,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${AIJZ_WEB_PUBLISH:-127.0.0.1:5173}:80"
|
- "${AIJZ_WEB_PUBLISH:-127.0.0.1:5173}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./web/dist:/usr/share/nginx/html:ro
|
# :Z 供 Podman/SELinux 可读;纯 Docker 也兼容
|
||||||
- ./web/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./web/dist:/usr/share/nginx/html:ro,Z
|
||||||
|
- ./web/nginx.conf:/etc/nginx/conf.d/default.conf:ro,Z
|
||||||
environment:
|
environment:
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
|
|||||||
Reference in New Issue
Block a user