mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30: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 reverse proxy (optional)
|
||||||
nginx:
|
nginx:
|
||||||
|
security_opt:
|
||||||
|
- "no-new-privileges:true"
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: nginx-proxy
|
container_name: nginx-proxy
|
||||||
ports:
|
ports:
|
||||||
@@ -204,9 +206,14 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./.docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
- ./.docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
- ./.docker/nginx/ssl:/etc/nginx/ssl:ro
|
- ./.docker/nginx/ssl:/etc/nginx/ssl:ro
|
||||||
|
tmpfs:
|
||||||
|
- /var/run
|
||||||
|
- /var/cache/nginx
|
||||||
|
- /var/log/nginx
|
||||||
networks:
|
networks:
|
||||||
- rustfs-network
|
- rustfs-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
read_only: true
|
||||||
profiles:
|
profiles:
|
||||||
- proxy
|
- proxy
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user