Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:26-trixie-slim AS build

ENV CI=true

RUN npm install -g pnpm@12.15.0
RUN npm install -g pnpm@12.16.0

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tools]
node = "26.13.0"
pnpm = "12.15.0"
pnpm = "12.16.0"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
"lint-staged": {
"*.{js,ts,vue}": "pnpm lint:fix"
},
"packageManager": "pnpm@12.15.0"
"packageManager": "pnpm@12.16.0"
}
122 changes: 61 additions & 61 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ module "routing" {
deregistration_delay = 30
}

module "network" {
source = "git::https://github.com/javaBin/platform//terraform/modules/app-network?ref=main"

name = "cupcake"
team = "cupcake"
project = "javabin"
vpc_id = module.platform.vpc_id
port = 3000
alb_ingress = true
}

module "auth" {
source = "git::https://github.com/javaBin/platform//terraform/modules/cognito-app-client?ref=main"

Expand Down Expand Up @@ -70,7 +81,8 @@ module "service" {
execution_role_arn = module.platform.execution_role_arn
task_role_arn = module.task_role.role_arn
subnet_ids = module.platform.private_subnet_ids
security_group_ids = [module.platform.ecs_tasks_security_group_id]
security_group_ids = [module.network.security_group_id]
service_registry_arns = [module.network.registry_arn]
region = "eu-central-1"
container_user = "1000"
readonly_root_filesystem = true
Expand All @@ -82,6 +94,7 @@ module "service" {
COGNITO_ISSUER_URL = module.auth.issuer_url
COGNITO_WELL_KNOWN_URL = module.auth.well_known_url
COGNITO_GROUPS = "helter"
COGNITO_EXTRA_AUTH_PARAMS = "prompt=select_account"
NUXT_PUBLIC_OIDC_AUTHORITY = module.auth.issuer_url
NUXT_PUBLIC_OIDC_LOGOUT_DOMAIN = module.auth.user_pool_domain
}
Expand Down