File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ jobs :
7+ javabin :
8+ uses : javaBin/platform/.github/workflows/javabin.yml@main
9+ secrets : inherit
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ ENV NODE_ENV=production
2323WORKDIR /app
2424
2525COPY --from=build /app/.output ./
26+ COPY entrypoint.sh /entrypoint.sh
27+ RUN chmod +x /entrypoint.sh
2628
27- CMD ["node" , "/app/server/index.mjs " ]
29+ ENTRYPOINT ["/entrypoint.sh " ]
2830
Original file line number Diff line number Diff line change 1+ name : cupcake
2+ team : cupcake
3+
4+ compute :
5+ cpu : 256
6+ memory : 512
7+ port : 3000
8+ health_check : /health
9+
10+ routing :
11+ host : cupcake.javazone.no
12+ priority : 100
13+
14+ auth :
15+ pool : internal
16+ callback_urls :
17+ - https://cupcake.javazone.no/
18+ - https://cupcake.javazone.no/auth/callback
19+ logout_urls :
20+ - https://cupcake.javazone.no/
21+
22+ environment :
23+ CUPCAKE_BACKEND : https://cupcake-backend.javazone.no
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+ export NUXT_PUBLIC_OIDC_AUTHORITY=" ${COGNITO_ISSUER_URL} "
4+ export NUXT_PUBLIC_OIDC_CLIENT_ID=" ${COGNITO_CLIENT_ID} "
5+ exec node /app/server/index.mjs
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ export default defineNuxtConfig({
1313
1414 runtimeConfig : {
1515 public : {
16- oidcAuthority : "https://auth.home.chrissearle.org/realms/HA12" ,
17- oidcClientId : "cupcake-client" ,
16+ oidcAuthority :
17+ "https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_Icikv3dtD" ,
18+ oidcClientId : "" ,
1819 } ,
1920 } ,
2021
You can’t perform that action at this time.
0 commit comments