mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-25 20:01:10 +01:00
Pass UID and GID to keeper-contracts
This commit is contained in:
parent
f7e21e503d
commit
3be9180ef0
@ -14,6 +14,8 @@ services:
|
|||||||
KEEPER_RPC_HOST: ${KEEPER_RPC_HOST}
|
KEEPER_RPC_HOST: ${KEEPER_RPC_HOST}
|
||||||
KEEPER_RPC_PORT: ${KEEPER_RPC_PORT}
|
KEEPER_RPC_PORT: ${KEEPER_RPC_PORT}
|
||||||
KEEPER_RPC_URL: ${KEEPER_RPC_URL}
|
KEEPER_RPC_URL: ${KEEPER_RPC_URL}
|
||||||
|
LOCAL_USER_ID: ${LOCAL_USER_ID}
|
||||||
|
LOCAL_GROUP_ID: ${LOCAL_GROUP_ID}
|
||||||
depends_on:
|
depends_on:
|
||||||
- keeper-node
|
- keeper-node
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -32,6 +32,10 @@ export KEEPER_RPC_URL="http://"${KEEPER_RPC_HOST}:${KEEPER_RPC_PORT}
|
|||||||
# Enable acl-contract validation in Secret-store
|
# Enable acl-contract validation in Secret-store
|
||||||
export CONFIGURE_ACL="false"
|
export CONFIGURE_ACL="false"
|
||||||
|
|
||||||
|
# Export User UID and GID
|
||||||
|
export LOCAL_USER_ID=$(id -u)
|
||||||
|
export LOCAL_GROUP_ID=$(id -g)
|
||||||
|
|
||||||
# colors
|
# colors
|
||||||
COLOR_R="\033[0;31m" # red
|
COLOR_R="\033[0;31m" # red
|
||||||
COLOR_G="\033[0;32m" # green
|
COLOR_G="\033[0;32m" # green
|
||||||
|
Loading…
Reference in New Issue
Block a user