Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .env.development.local
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# For local development using a Platform API that can be accessed via the host machine's localhost
NODE_ENV=development
VUE_APP_API_URL=http://localhost:8082
VUE_APP_API_URL=http://host.docker.internal:8082
VUE_APP_API_MOCK=0
VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV" # todo replace with test key
VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV"
VUE_APP_BUILD_FOR_DOCKER_IMAGE=0
VUE_APP_CNAME_RECORD=sites-1.dyna.wbaas.localhost
VUE_APP_SUBDOMAIN_SUFFIX=".wbaas.localhost"
VUE_APP_CNAME_RECORD=sites-1.dyna.wbaas.dev
VUE_APP_SUBDOMAIN_SUFFIX=".wbaas.dev"
5 changes: 3 additions & 2 deletions .env.development.mock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# For local development using a mock Platform API
NODE_ENV=development
VUE_APP_API_URL=
VUE_APP_API_MOCK=1
VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV"
VUE_APP_BUILD_FOR_DOCKER_IMAGE=0
VUE_APP_CNAME_RECORD=sites-1.dyna.wbaas.localhost
VUE_APP_SUBDOMAIN_SUFFIX=".wbaas.localhost"
VUE_APP_CNAME_RECORD=sites-1.dyna.wbaas.dev
VUE_APP_SUBDOMAIN_SUFFIX=".wbaas.dev"
3 changes: 2 additions & 1 deletion .env.development.prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# For local development against the production Platform API
NODE_ENV=development
VUE_APP_API_URL="https://api.wikibase.cloud"
VUE_APP_API_MOCK=0
VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV"
VUE_APP_BUILD_FOR_DOCKER_IMAGE=0
VUE_APP_CNAME_RECORD=sites-1.dyna.wbstack.com
VUE_APP_CNAME_RECORD=sites-1.dyna.wikibase.cloud
VUE_APP_SUBDOMAIN_SUFFIX=".wikibase.cloud"
8 changes: 8 additions & 0 deletions .env.development.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# For local development against the staging Platform API
NODE_ENV=development
VUE_APP_API_URL="https://api.wikibase.dev"
VUE_APP_API_MOCK=0
VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV"
VUE_APP_BUILD_FOR_DOCKER_IMAGE=0
VUE_APP_CNAME_RECORD=sites-1.dyna.wikibase.dev
VUE_APP_SUBDOMAIN_SUFFIX=".wikibase.dev"
1 change: 1 addition & 0 deletions .env.development.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For running GitHub Actions tests using docker
NODE_ENV=development
VUE_APP_API_URL=http://host.docker.internal:8082
VUE_APP_API_MOCK=0
Expand Down
Loading