Skip to content

Commit acfcef6

Browse files
authored
Release v1.47.0 (#1121)
## Large Release - Tiles v2 - Show more contextual tab titles --- - [x] DB migration - [x] Env vars added
2 parents 15714b3 + e9b704b commit acfcef6

File tree

108 files changed

+4867
-2134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+4867
-2134
lines changed

ecs/env.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"name": "POSTGRES_ENABLE_SSL",
2121
"value": "true"
2222
},
23+
{
24+
"name": "TILES_POSTGRES_ENABLE_SSL",
25+
"value": "true"
26+
},
2327
{
2428
"name": "REDIS_TLS",
2529
"value": "true"
@@ -221,6 +225,26 @@
221225
{
222226
"name": "RDS_PROXY_HOST",
223227
"valueFrom": "plumber-<ENVIRONMENT>-rds-proxy-host"
228+
},
229+
{
230+
"name": "TILES_POSTGRES_HOST",
231+
"valueFrom": "plumber-<ENVIRONMENT>-tiles-rds-host"
232+
},
233+
{
234+
"name": "TILES_POSTGRES_DATABASE",
235+
"valueFrom": "plumber-<ENVIRONMENT>-tiles-rds-database"
236+
},
237+
{
238+
"name": "TILES_POSTGRES_USERNAME",
239+
"valueFrom": "plumber-<ENVIRONMENT>-tiles-rds-username"
240+
},
241+
{
242+
"name": "TILES_POSTGRES_PASSWORD",
243+
"valueFrom": "plumber-<ENVIRONMENT>-tiles-rds-password"
244+
},
245+
{
246+
"name": "TILES_POSTGRES_PORT",
247+
"valueFrom": "plumber-<ENVIRONMENT>-tiles-rds-port"
224248
}
225249
]
226250
}

package-lock.json

Lines changed: 66 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/backend/.env-example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ MAX_JOB_ATTEMPTS=3
3434
POSTMAN_SMS_QPS_LIMIT_PER_CAMPAIGN=3
3535
ONBOARDING_EMAIL_WEBHOOK_URL=test-webhook-url
3636

37+
# TILE POSTGRES
38+
TILES_POSTGRES_DATABASE=plumber_tiles_dev
39+
TILES_POSTGRES_PORT=5431
40+
TILES_POSTGRES_HOST=localhost
41+
TILES_POSTGRES_USERNAME=postgres
42+
TILES_POSTGRES_PASSWORD=postgres
43+
TILES_POSTGRES_ENABLE_SSL=false
44+
3745
# LOCAL DEV
3846
SERVE_WEB_APP_SEPARATELY=true
3947
CLOUDFLARE_TOKEN=...

packages/backend/docker-compose.dev.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ services:
1414
interval: 5s
1515
timeout: 5s
1616
retries: 5
17+
tiles-postgres:
18+
image: postgres:16.6-bookworm
19+
environment:
20+
- POSTGRES_USER=postgres
21+
- POSTGRES_PASSWORD=postgres
22+
- POSTGRES_DB=plumber_tiles_dev
23+
ports:
24+
- 5431:5432
25+
volumes:
26+
- plumber-tiles-postgres:/var/lib/postgresql/data
27+
healthcheck:
28+
test: ['CMD-SHELL', 'pg_isready -U postgres']
29+
interval: 5s
30+
timeout: 5s
31+
retries: 5
1732
redis:
1833
image: redis:6.2.0-alpine
1934
ports:
@@ -76,3 +91,4 @@ volumes:
7691
plumber-redis:
7792
plumber-minio:
7893
plumber-dynamodb:
94+
plumber-tiles-postgres:

packages/backend/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@
7474
"objection": "^3.0.0",
7575
"p-limit": "3.1.0",
7676
"pg": "^8.7.1",
77+
"pg-query-stream": "4.9.6",
7778
"rate-limiter-flexible": "2.4.1",
7879
"remark-breaks": "3.0.3",
7980
"remark-gfm": "3.0.1",
8081
"typescript": "^4.6.3",
82+
"ulid": "3.0.0",
8183
"urlcat": "3.1.0",
8284
"winston": "^3.7.1",
8385
"zod": "3.22.4",
@@ -106,5 +108,5 @@
106108
"tsconfig-paths": "^4.2.0",
107109
"type-fest": "4.10.3"
108110
},
109-
"version": "1.46.1"
111+
"version": "1.47.0"
110112
}

0 commit comments

Comments
 (0)