From bde980536dc89c477321b99230bb8e835f36949a Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 13 May 2025 01:51:13 +0300 Subject: [PATCH] fix the example docker compose file Signed-off-by: ngn --- docker-compose.example.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 2d8682c..e93350e 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -3,16 +3,16 @@ services: container_name: libremdb image: git.ngn.tf/ngn/libremdb ports: - - 80:3000 + - 80:3000 env_file: .env.example depends_on: - - libremdb_redis + - libremdb_redis tmpfs: - - /opt/app/.next/cache/:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev + - /app/.next/cache/:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev security_opt: - - no-new-privileges:true + - no-new-privileges:true cap_drop: - - ALL + - ALL user: 65534:65534 # equivalent to the nobody user read_only: true restart: unless-stopped @@ -22,10 +22,10 @@ services: image: redis user: nobody tmpfs: - - /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev + - /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev security_opt: - - no-new-privileges:true + - no-new-privileges:true cap_drop: - - ALL + - ALL read_only: true restart: unless-stopped