chore: initial scaffold
Vite + Vue 3 + DaisyUI SPA (project picker + Slack avatar member grid) with a TypeScript/Node (Hono) backend proxying Napta + Slack, SQLite avatar cache via node:sqlite, and docker-compose for Coolify deploy.
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- api
|
||||
|
||||
api:
|
||||
build: ./backend
|
||||
environment:
|
||||
- PORT=8000
|
||||
- DB_PATH=/app/data/app.db
|
||||
# Set these as env vars on the Coolify app to switch from demo fixtures
|
||||
# to live data. Empty -> the backend serves fixtures.
|
||||
- NAPTA_API_TOKEN=${NAPTA_API_TOKEN:-}
|
||||
- NAPTA_BASE_URL=${NAPTA_BASE_URL:-https://app.napta.io/api/v1}
|
||||
- SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN:-}
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
ports:
|
||||
- "8000:8000"
|
||||
Reference in New Issue
Block a user