mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
[Security] Fix HIGH vulnerability: yaml.docker-compose.security.writable-filesystem-service.writable-filesystem-service (#1005)
Co-authored-by: orbisai0security <orbisai0security@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -196,6 +196,8 @@ services:
|
||||
|
||||
# NGINX reverse proxy (optional)
|
||||
nginx:
|
||||
security_opt:
|
||||
- "no-new-privileges:true"
|
||||
image: nginx:alpine
|
||||
container_name: nginx-proxy
|
||||
ports:
|
||||
@@ -204,9 +206,14 @@ services:
|
||||
volumes:
|
||||
- ./.docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./.docker/nginx/ssl:/etc/nginx/ssl:ro
|
||||
tmpfs:
|
||||
- /var/run
|
||||
- /var/cache/nginx
|
||||
- /var/log/nginx
|
||||
networks:
|
||||
- rustfs-network
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
profiles:
|
||||
- proxy
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user