Skip to content

Commit

Permalink
chore(vth-dashboard): integrate strapi-plugin-env-label into vth
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 committed May 28, 2024
1 parent ece8a5d commit 40ba6a0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/vth-dashboard/config/plugins.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
const { apolloPrometheusPlugin } = require('strapi-prometheus');

export default ({ env }) => ({
'env-label': {
enabled: true,
config: {
env_label: env('STRAPI_ENV_LABEL'),
},
},
'preview-button': {
enabled: true,
config: {
Expand Down
1 change: 1 addition & 0 deletions apps/vth-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@frameless/preview-button": "0.0.0-semantically-released",
"@frameless/strapi-plugin-env-label": "0.0.0-semantically-released",
"@frameless/strapi-tiptap-editor": "0.0.0-semantically-released",
"@strapi/plugin-graphql": "4.14.6",
"@strapi/plugin-i18n": "4.14.6",
Expand Down
1 change: 1 addition & 0 deletions docker-compose.vth.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
FRONTEND_PUBLIC_URL: ${FRONTEND_PUBLIC_URL}
STRAPI_ENV_LABEL: ${STRAPI_ENV_LABEL}
NODE_ENV: ${NODE_ENV}
ports:
- "1337:1337"
Expand Down
1 change: 1 addition & 0 deletions docker-compose.vth.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
DATABASE_NAME: ${DATABASE_NAME}
DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
STRAPI_ENV_LABEL: ${STRAPI_ENV_LABEL}
NODE_ENV: ${NODE_ENV}
ports:
- "1337:1337"
Expand Down

0 comments on commit 40ba6a0

Please sign in to comment.