diff --git a/.lagoon.yml b/.lagoon.yml index 22179218c..d16baa060 100644 --- a/.lagoon.yml +++ b/.lagoon.yml @@ -69,3 +69,16 @@ environments: schedule: '*/15 * * * *' command: drush cron service: cli + demo-grbr: + routes: + - nginx: + - grbr.cms.amazeelabs.dev + - build: + - grbr.build.amazeelabs.dev + - preview: + - grbr.preview.amazeelabs.dev + cronjobs: + - name: drush cron + schedule: '*/15 * * * *' + command: drush cron + service: cli diff --git a/apps/cms/.lagoon.env.demo-grbr b/apps/cms/.lagoon.env.demo-grbr new file mode 100644 index 000000000..be0ce18b9 --- /dev/null +++ b/apps/cms/.lagoon.env.demo-grbr @@ -0,0 +1,7 @@ +PROJECT_NAME=example +PUBLISHER_URL="https://grbr.build.amazeelabs.dev" +NETLIFY_URL="https://grbr.amazeelabs.dev" +PREVIEW_URL="https://grbr.preview.amazeelabs.dev" + +# Used to set the original client secret. +PUBLISHER_OAUTH2_CLIENT_SECRET=REPLACE_ME diff --git a/apps/preview/.lagoon.env.demo-grbr b/apps/preview/.lagoon.env.demo-grbr new file mode 100644 index 000000000..39f514761 --- /dev/null +++ b/apps/preview/.lagoon.env.demo-grbr @@ -0,0 +1 @@ +DRUPAL_URL="https://grbr.cms.amazeelabs.dev" diff --git a/apps/website/.lagoon.env.demo-grbr b/apps/website/.lagoon.env.demo-grbr new file mode 100644 index 000000000..527023a82 --- /dev/null +++ b/apps/website/.lagoon.env.demo-grbr @@ -0,0 +1,29 @@ +PROJECT_NAME=example +DRUPAL_INTERNAL_URL="http://nginx:8080" +DRUPAL_EXTERNAL_URL="https://example.cms.amazeelabs.dev" +NETLIFY_URL="https://grbr.amazeelabs.dev" +NETLIFY_SITE_ID="73d7ddf1-5bae-48b0-b438-a5e9a5558fd0" + +# ----------------------------------------------- +# Publisher authentication with Drupal (OAuth2). +# See main ./README.md for more information. +# ----------------------------------------------- +# Set to true to fully skip authentication. +PUBLISHER_SKIP_AUTHENTICATION=false + +# Secret from the Drupal Publisher Consumer. +PUBLISHER_OAUTH2_CLIENT_SECRET=REPLACE_ME + +# Client id from the Drupal Publisher Consumer. +PUBLISHER_OAUTH2_CLIENT_ID=publisher + +# A random string, used to encrypt the session. +PUBLISHER_OAUTH2_SESSION_SECRET=REPLACE_ME + +# "development" or "production", production will trust first proxy +# and serve secure cookies. +PUBLISHER_OAUTH2_ENVIRONMENT_TYPE=production + +# DRUPAL_EXTERNAL_URL is used by default, but can be overridden +# to match the Drupal production url, without the nginx prefix. +PUBLISHER_OAUTH2_TOKEN_HOST="${DRUPAL_EXTERNAL_URL}"