This commit is contained in:
+12
-9
@@ -1,16 +1,19 @@
|
||||
services:
|
||||
agent-data-init:
|
||||
image: alpine:3.22
|
||||
user: 0:0
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
mkdir -p /app/data
|
||||
chown -R 65532:65532 /app/data
|
||||
build:
|
||||
context: .
|
||||
target: data-init
|
||||
restart: "no"
|
||||
user: "0:0"
|
||||
volumes:
|
||||
- agent-data:/app/data
|
||||
restart: no
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- FOWNER
|
||||
|
||||
agent:
|
||||
build: .
|
||||
|
||||
Reference in New Issue
Block a user