This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ generate: env-file-exists build
2828# Start the CA chatbot in the background
2929serve : env-file-exists ca-key-exists
3030 docker run -d --restart unless-stopped --env-file ./env.list -v $(CURDIR ) /example-keybaseca-volume:/mnt:rw ca:latest ./entrypoint-server.sh
31- @echo " Started CA bot service in the background... Use ` docker ps` and ` docker logs` to monitor it"
31+ @echo ' Started CA bot service in the background... Use `docker ps` and `docker logs` to monitor it'
3232
3333# Stop the service
3434stop :
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ chown -R keybase:keybase /mnt
88# Run everything else as the keybase user
99sudo -i -u keybase bash << EOF
1010export "FORCE_WRITE=$FORCE_WRITE "
11+ export "TEAMS=$TEAMS "
12+ export "KEYBASE_USERNAME=$KEYBASE_USERNAME "
13+ export "KEYBASE_PAPERKEY=$KEYBASE_PAPERKEY "
1114nohup bash -c "KEYBASE_RUN_MODE=prod kbfsfuse /keybase | grep -v 'ERROR Mounting the filesystem failed' &"
1215sleep 3
1316keybase oneshot
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ chown -R keybase:keybase /mnt
77
88# Run everything else as the keybase user
99sudo -i -u keybase bash << EOF
10+ export "TEAMS=$TEAMS "
11+ export "KEYBASE_USERNAME=$KEYBASE_USERNAME "
12+ export "KEYBASE_PAPERKEY=$KEYBASE_PAPERKEY "
1013nohup bash -c "KEYBASE_RUN_MODE=prod kbfsfuse /keybase | grep -v 'ERROR Mounting the filesystem failed' &"
1114sleep 3
1215keybase oneshot
Original file line number Diff line number Diff line change 11# List the subteams here separated by commas (eg "teamname.ssh.production,teamname.ssh.staging") that you
22# wish to use to grant SSH access
3- TEAMS=" teamname.ssh.staging,teamname.ssh.production,..."
3+ TEAMS=teamname.ssh.staging,teamname.ssh.production
44
55# Login info for the chat bot
6- KEYBASE_USERNAME="username_of_ca_bot"
7- KEYBASE_PAPERKEY="paper key for the ca bot"
6+ KEYBASE_USERNAME=username_of_ca_bot
7+ KEYBASE_PAPERKEY=paper key for the ca bot
8+
9+ # DO NOT QUOTE VARIABLE VALUES
10+ #
11+ # These variables will be single quoted when loaded into the container. If you quote them here, those
12+ # quotes will become part of the variable value.
13+
You can’t perform that action at this time.
0 commit comments