Skip to content

Commit

Permalink
fix: stash
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Aug 20, 2024
1 parent 0ec5125 commit 4634274
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ fileignoreconfig:
checksum: 0738f07a54568f11530944b7dd793718435c7b1ab6cc6eacf6739f380fb1eb83
- filename: pg/seeds/BO-1-back-user.sql
checksum: 2261cabf80475ffa0c06e59760d4a89ea3331b81062fe5e8640745741a562995
- filename: run_front.sh
checksum: a844e8dc91bac636739c5119838d389e7517c8d6f5ef6669841a80fc6e20da85
scopeconfig:
- scope: node
version: "1.0"
2 changes: 1 addition & 1 deletion packages/frontend-usagers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ USER 101

CMD ["nginx", "-g", "daemon off;"]

COPY --from=builder --chown=101:101 /app/packages/frontend-usagers/.output/public /usr/share/nginx/html
COPY --from=builder --chown=101:101 /app/packages/frontend-usagers/.output/public /app
4 changes: 4 additions & 0 deletions packages/frontend-usagers/src/app.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<template>
<script>
console.log("hello");
// CONFIGURATIONS_PLACEHOLDER
</script>
<div>
<NuxtLayout>
<NuxtPage />
Expand Down
32 changes: 32 additions & 0 deletions run_front.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
docker build . -f packages/frontend-usagers/Dockerfile -t frontend-usagers:latest --progress plain

docker run --rm -it \
-e ENV_NUXT_PUBLIC_APP_VERSION=toto \
-e ENV_NUXT_PUBLIC_BACKEND_URL=http://localhost:3010 \
-e ENV_NUXT_PUBLIC_MATOMO_ENABLED="false" \
-e ENV_NUXT_PUBLIC_MATOMO_HOST=http://matomo.fabrique.social.gouv.fr \
-e ENV_NUXT_PUBLIC_MATOMO_SITE_ID=tete \
-e ENV_NUXT_PUBLIC_SENTRY_DSN=https://38eaf4da504d4809a74ce3134b759c91@sentry.fabrique.social.gouv.fr/103 \
-e ENV_NUXT_PUBLIC_SENTRY_ENABLED="false" \
-e ENV_NUXT_PUBLIC_ENVIRONMENT=local \
-p 8080:8080 \
frontend-usagers:latest



# - name: NUXT_PUBLIC_BACKEND_URL
# value: "https://{{ .Values.global.backendHost }}"

# - name: NUXT_PUBLIC_MATOMO_ENABLED
# value: "{{.Values.global.matomoEnabled}}"
# - name: NUXT_PUBLIC_MATOMO_HOST
# value: "{{.Values.global.matomoHost}}"
# - name: NUXT_PUBLIC_MATOMO_SITE_ID
# value: "{{.Values.matomoShiteId}}"


# - name: NUXT_PUBLIC_APP_VERSION
# value: "{{.Values.global.appTag}}"

# - name: NUXT_PUBLIC_ENVIRONMENT
# value: "{{.Values.global.environment}}"

0 comments on commit 4634274

Please sign in to comment.