Skip to content

Commit 4254851

Browse files
authored
Merge pull request #30 from objectstack-ai/claude/gracious-sanderson-1fd9e6
feat(docker): upgrade runtime to Node 22 and add postgres support
2 parents 2876d46 + 9773a0f commit 4254851

4 files changed

Lines changed: 153 additions & 36 deletions

File tree

‎apps/objectos/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"@objectstack/metadata": "^10.2.0",
2323
"@objectstack/objectql": "^10.2.0",
2424
"@objectstack/runtime": "^10.2.0",
25-
"@objectstack/spec": "^10.2.0"
25+
"@objectstack/spec": "^10.2.0",
26+
"pg": "^8.0.0"
2627
},
2728
"devDependencies": {
2829
"@types/node": "^25.9.1",

‎docker/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#
33
# ObjectOS runtime image
44
# -----------------------------------------------------------------------
5-
# Multi-stage build producing a minimal Node 20 runtime that boots
5+
# Multi-stage build producing a minimal Node 22 runtime that boots
66
# `apps/objectos` against either an Artifact API or a local artifact file.
77
# -----------------------------------------------------------------------
88

9-
ARG NODE_VERSION=20
9+
ARG NODE_VERSION=22
1010
ARG PNPM_VERSION=10.28.2
1111

1212
# ---------- builder ----------

‎docker/docker-compose.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ services:
1313
OS_PROJECT_ID: ${OS_PROJECT_ID:-}
1414
OS_ARTIFACT_FILE: ${OS_ARTIFACT_FILE:-/artifacts/objectstack.json}
1515
OS_BUSINESS_DB_URL: ${OS_BUSINESS_DB_URL:-file:/var/lib/objectos/data.db}
16+
OS_SECRET_KEY: ${OS_SECRET_KEY:-}
17+
OS_AUTH_SECRET: ${OS_AUTH_SECRET:-}
18+
OS_CORS_ORIGIN: ${OS_CORS_ORIGIN:-}
1619
OS_CACHE_DIR: /var/cache/objectos
1720
PORT: 3000
1821
volumes:

0 commit comments

Comments
 (0)