Skip to content

Commit

Permalink
Moved values out to .env
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNewAutonomy committed Oct 24, 2024
1 parent fe9a4cc commit 4a2bc48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docker-compose-client.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
services:
stats-client:
container_name: stats-client
image: stats-client:latest
image: thenewautonomy/moksha-stats-dashboard:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
environment:
- STATS_SERVER_URL=ws://localhost:3000 # Address of the stats server
- STATS_SERVER_URL=${STATS_SERVER_URL}
- GETH_URL=ws://geth:8546
- INSTANCE_NAME= # Name of your node displayed on the stats dashboard
- WS_SECRET= # Secret defined on the stats server
- INSTANCE_NAME=${INSTANCE_NAME}
- WS_SECRET=${WS_SECRET}
- BEACON_NODE_API=http://beacon:3500/eth/v1/beacon/states/head
- PUBLIC_KEY=
- PUBLIC_KEY=${PUBLIC_KEY}
profiles: ["monitoring"]
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
environment:
- STATS_SERVER_URL=ws://localhost:3000 # Address of the stats server
- STATS_SERVER_URL=${STATS_SERVER_URL}
- GETH_URL=ws://geth:8546
- INSTANCE_NAME= # Name of your node displayed on the stats dashboard
- WS_SECRET= # Secret defined on the stats server
- INSTANCE_NAME=${INSTANCE_NAME}
- WS_SECRET=${WS_SECRET}
- BEACON_NODE_API=http://beacon:3500/eth/v1/beacon/states/head
- PUBLIC_KEY=
- PUBLIC_KEY=${PUBLIC_KEY}
depends_on:
geth:
condition: service_started
Expand Down

0 comments on commit 4a2bc48

Please sign in to comment.