Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
e6ebf6ca78
commit
bde980536d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user