Skip to content

Commit

Permalink
Merge pull request #7 from cooldracula/add-bypass-token
Browse files Browse the repository at this point in the history
Add bypass invite token to start script
  • Loading branch information
cooldracula authored Nov 29, 2023
2 parents ee55c59 + a47134f commit 6bfcadd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env_example
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@

HTTPS_DOMAIN=yourhttpsdomainhere
ALIASES_AS_SUBDOMAINS=true
BYPASS_INVITES_TOKEN=yourbypasstokenhere
# uncomment variable if you want to store data in a custom directory (required for default docker-compose setup)
# REPO=/ssb-go-room-secrets
6 changes: 5 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
# SPDX-License-Identifier: CC0-1.0

# we use absolute paths so this file can run easily within a docker container
/app/cmd/server/server -https-domain="${HTTPS_DOMAIN}" -repo="${REPO:-/ssb-go-room-secrets}" -aliases-as-subdomains="${ALIASES_AS_SUBDOMAINS}"
/app/cmd/server/server \
-https-domain="${HTTPS_DOMAIN}" \
-repo="${REPO:-/ssb-go-room-secrets}" \
-aliases-as-subdomains="${ALIASES_AS_SUBDOMAINS}" \
-bypass-invites-token="${BYPASS_INVITES_TOKEN}"

0 comments on commit 6bfcadd

Please sign in to comment.