Skip to content

Commit 647ef94

Browse files
committed
fix: correct Kamal deploy config for local Docker testing
- Remove duplicate ghcr.io from image path - Use absolute path for DATABASE_URL (file:/app/prisma/prod.db) - Change 'multiarch: false' to 'arch: amd64' for Kamal 2.0
1 parent 8d46f83 commit 647ef94

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

config/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
service: kelas
55

66
# Docker image configuration
7-
image: ghcr.io/zainfathoni/kelas.rumahberbagi.com
7+
image: zainfathoni/kelas.rumahberbagi.com
88

99
# Deployment servers
1010
servers:
@@ -38,7 +38,7 @@ env:
3838
clear:
3939
NODE_ENV: production
4040
PORT: "3000"
41-
DATABASE_URL: file:./prisma/prod.db
41+
DATABASE_URL: file:/app/prisma/prod.db
4242
# Secret environment variables (loaded from .kamal/secrets)
4343
secret:
4444
- SESSION_SECRET
@@ -48,7 +48,7 @@ env:
4848

4949
# Build configuration
5050
builder:
51-
multiarch: false
51+
arch: amd64
5252
args:
5353
NODE_ENV: production
5454

0 commit comments

Comments
 (0)