Skip to content

Commit 7c95a41

Browse files
committed
chore: add docs to example app.yaml
1 parent 28751c6 commit 7c95a41

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

example/server/app.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
service: fileset
22
runtime: nodejs10
33
env_variables:
4+
# Comma-separated domains. Fileset will require users to be members of these
5+
# organizations (via their Google Account email address domain) in order for
6+
# users to access staging.
47
FILESET_ALLOWED_ORGANIZATIONS: 'example1.com,example2.com'
8+
# Specify the canonical URL (without https://) used for staging URLs and for
9+
# the webui dashboard. Staging links will be accessed via
10+
# https://`<site>-<branch>.<FILESET_BASE_URL>` and the webui will be accessed
11+
# via https://<FILESET_BASE_URL>/fileset/.
512
FILESET_BASE_URL: 'staging.example.com'
13+
# Which branch is used as the "prod" branch? Other branches will be limited
14+
# to staging access only.
615
FILESET_DEFAULT_BRANCH: main
16+
# Which fileset site to use as the default site.
717
FILESET_SITE: default
18+
# Whether to use the server as a staging server only. If set to `true`, no
19+
# branches will be used as the "prod" branch.
820
FILESET_STAGING_ONLY: ''
921
includes:
1022
- secrets.yaml
1123
handlers:
1224
- url: /.*
1325
script: auto
14-
secure: always
26+
secure: always

0 commit comments

Comments
 (0)