Skip to content

Commit 6bd8f65

Browse files
committed
chore: hardcoding uid/gid
1 parent f0873ef commit 6bd8f65

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cardano/gateway/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ OGMIOS_ENDPOINT=http://127.0.0.1:1337
1212
CARDANO_CHAIN_HOST=127.0.0.1
1313
CARDANO_CHAIN_PORT=3001
1414
CARDANO_NETWORK_MAGIC=42
15-
CARDANO_EPOCH_NONCE_GENESIS="2a4a24c0aa74d789a51b01ebe45a7cfcd9f5d6a458d690becdaf7d33fa3f47c1"
15+
CARDANO_EPOCH_NONCE_GENESIS="4c6b67f8bfd7964851d0a027a68ce66bc88c8fe32f720e6ae6cf2a343b1a9c29"
1616

1717
HANDLER_JSON_PATH=/usr/src/app/cardano/offchain/deployments/handler.json
1818

chains/cardano/docker-compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
cardano-node:
33
image: ghcr.io/blinklabs-io/cardano-node:10.1.4-3
44
container_name: cardano-node
5+
user: "${UID:-1000}:${GID:-1000}"
56
volumes:
67
- ./devnet:/devnet
78
environment:
@@ -38,6 +39,7 @@ services:
3839

3940
cardano-node-ogmios:
4041
image: cardanosolutions/ogmios:v6.10.0
42+
user: "${UID:-1000}:${GID:-1000}"
4143
logging:
4244
driver: "json-file"
4345
options:
@@ -63,6 +65,7 @@ services:
6365

6466
kupo:
6567
image: cardanosolutions/kupo:v2.9.0
68+
user: "${UID:-1000}:${GID:-1000}"
6669
logging:
6770
driver: "json-file"
6871
options:
@@ -95,6 +98,7 @@ services:
9598

9699
postgres:
97100
image: postgres:14.10-alpine
101+
user: "${UID:-1000}:${GID:-1000}"
98102
environment:
99103
- POSTGRES_LOGGING=true
100104
- POSTGRES_DB_FILE=/run/secrets/postgres_db
@@ -127,6 +131,7 @@ services:
127131

128132
cardano-db-sync:
129133
image: ghcr.io/blinklabs-io/cardano-db-sync:main
134+
user: "${UID:-1000}:${GID:-1000}"
130135
environment:
131136
- POSTGRES_HOST=postgres
132137
- POSTGRES_PORT=5432

0 commit comments

Comments
 (0)