Docker & Gitea CI ekle
- Multi-stage Dockerfile (node:20-alpine, pnpm, standalone) - docker-compose.yml (SQLite volume dahil) - .dockerignore - Gitea CI: lint + build + Docker imaj push - next.config.ts: output standalone eklendi
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
container_name: kolaytercih
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- app-data:/app/data
|
||||
env_file:
|
||||
- .env.production
|
||||
environment:
|
||||
- APP_DB_URL=file:/app/data/app.db
|
||||
|
||||
volumes:
|
||||
app-data:
|
||||
Reference in New Issue
Block a user