Add environment variables to gridd
Adds environment variables to the gridd- containers within the
Splinter example. This adds values for the key and url endpoint.
@@ -133,6 +133,9 @@ services:
- 8080
ports:
- "8080:8080"
+ environment:
+ GRID_DAEMON_KEY: "alpha-agent"
+ GRID_DAEMON_ENDPOINT: "http://gridd-alpha:8080"
entrypoint: |
bash -c "
# we need to wait for the db to have started.
@@ -218,6 +221,9 @@ services:
- 8080
ports:
- "8081:8080"
+ environment:
+ GRID_DAEMON_KEY: "beta-agent"
+ GRID_DAEMON_ENDPOINT: "http://gridd-beta:8080"
entrypoint: |
bash -c "
# we need to wait for the db to have started.
@@ -302,6 +308,9 @@ services:
- 8080
ports:
- "8082:8080"
+ environment:
+ GRID_DAEMON_KEY: "gamma-agent"
+ GRID_DAEMON_ENDPOINT: "http://gridd-gamma:8080"
entrypoint: |
bash -c "
# we need to wait for the db to have started.
