container security #274
2 changed files with 15 additions and 0 deletions
|
@ -61,6 +61,11 @@ services:
|
||||||
- internal
|
- internal
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
pull_policy: missing
|
pull_policy: missing
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "2"
|
||||||
|
memory: "512M"
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges=true
|
- no-new-privileges=true
|
||||||
environment:
|
environment:
|
||||||
|
@ -75,6 +80,11 @@ services:
|
||||||
oci-registry-ui:
|
oci-registry-ui:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
pull_policy: missing
|
pull_policy: missing
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "2"
|
||||||
|
memory: "512M"
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges=true
|
- no-new-privileges=true
|
||||||
image: "joxit/docker-registry-ui:2.5.7"
|
image: "joxit/docker-registry-ui:2.5.7"
|
||||||
|
|
|
@ -58,6 +58,11 @@ services:
|
||||||
- db-data:/data/db
|
- db-data:/data/db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
pull_policy: missing
|
pull_policy: missing
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "2"
|
||||||
|
memory: "512M"
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges=true
|
- no-new-privileges=true
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue