From 39deb471d976d863d2ec803f908025a2366f1486 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 6 Dec 2025 19:06:33 +0900 Subject: build(server): add Dockerfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add build pipeline with esbuild for production bundling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- compose.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'compose.yaml') 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: -- cgit v1.2.3-70-g09d2