Skip to content

Commit

Permalink
Merge pull request #139 from ministryofjustice/build-patch-staging-me…
Browse files Browse the repository at this point in the history
…rge-dev-test

Add Sentry env constant
  • Loading branch information
brown-a2 authored Nov 16, 2023
2 parents 1ac903b + 255dfdb commit c6e754e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ services:
S3_UPLOADS_BUCKET: ""
SERVER_NAME: "hale.docker"
PHP_DSN: "" # Sentry constant (not used locally)
WP_SENTRY_ENV: ""

phpmyadmin:
image: phpmyadmin/phpmyadmin
Expand Down
1 change: 1 addition & 0 deletions opt/scripts/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ wp config set S3_UPLOADS_USE_INSTANCE_PROFILE "\$_SERVER['S3_UPLOADS_USE_INSTANC
wp config set QM_ENABLE_CAPS_PANEL true --raw
wp config set WP_CACHE true --raw
wp config set WP_SENTRY_PHP_DSN "\$_SERVER['PHP_DSN']" --raw
wp config set WP_SENTRY_ENV "\$_SERVER['WP_ENVIRONMENT_TYPE']" --raw

#WP core install
wp core multisite-install --title="Hale Multisite Platform" \
Expand Down

0 comments on commit c6e754e

Please sign in to comment.