Skip to content

Commit b96a87c

Browse files
authored
Merge pull request #3 from Karanpal97/dev
add the env in setup
2 parents 349c669 + e97ed07 commit b96a87c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33

44
PUBLIC_KEY=$1
5+
ENVIRONMENT=$2
56

67
echo "Installing docker"
78

@@ -42,6 +43,8 @@ cd node-manager
4243

4344
# Create a .env file with the public key
4445
echo "PUBLIC_KEY=$PUBLIC_KEY" > .env
46+
echo "ENVIRONMENT=$ENVIRONMENT" > .env
47+
4548

4649
# Start the caddy server and node manager
4750
sudo docker compose up -d

0 commit comments

Comments
 (0)