diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-06 19:06:33 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-06 19:24:07 +0900 |
| commit | 39deb471d976d863d2ec803f908025a2366f1486 (patch) | |
| tree | 5aee9cc44b21d92a0d4a7c9f33fe487acc732d92 /compose.yaml | |
| parent | c65609278df8a95ad82acc852e224607069859b4 (diff) | |
| download | kioku-39deb471d976d863d2ec803f908025a2366f1486.tar.gz kioku-39deb471d976d863d2ec803f908025a2366f1486.tar.zst kioku-39deb471d976d863d2ec803f908025a2366f1486.zip | |
build(server): add Dockerfiles
Add build pipeline with esbuild for production bundling.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml index 494e60f..9253017 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,5 +17,32 @@ services: timeout: 5s retries: 5 + server: + build: + context: . + dockerfile: docker/server/Dockerfile + container_name: kioku-server + restart: unless-stopped + environment: + DATABASE_URL: ${DATABASE_URL} + JWT_SECRET: ${JWT_SECRET} + NODE_ENV: production + expose: + - 3000 + depends_on: + db: + condition: service_healthy + + client: + build: + context: . + dockerfile: docker/client/Dockerfile + container_name: kioku-client + restart: unless-stopped + ports: + - "80:80" + depends_on: + - server + volumes: db_data: |
