Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit 969e473

Browse files
feat(security): Change tmpfs to /run
Address Bryon's comment about more standard temp. file system /run Signed-off-by: Jim Wang <[email protected]>
1 parent 926a4d4 commit 969e473

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compose-builder/add-security.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ services:
5555
- common-sec-stage-gate.env
5656
environment:
5757
SECRETSTORE_TOKENFILE: /tmp/edgex/secrets/edgex-security-bootstrap-redis/secrets-token.json
58-
DATABASECONFIG_PATH: /redis/conf
58+
DATABASECONFIG_PATH: /run/redis/conf
5959
DATABASECONFIG_NAME: redis.conf
6060
tmpfs:
61-
- /redis
61+
- /run
6262
volumes:
6363
- edgex-init:/edgex-init:ro,z
64-
- redis-config:/redis/conf:z
64+
- redis-config:/run/redis/conf:z
6565
- /tmp/edgex/secrets/edgex-security-bootstrap-redis:/tmp/edgex/secrets/edgex-security-bootstrap-redis:ro,z
6666
depends_on:
6767
- security-bootstrapper

0 commit comments

Comments
 (0)