feat: the app

This commit is contained in:
2025-11-04 20:11:53 +01:00
commit f712c84a2e
11 changed files with 4307 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3.8'
services:
linkding:
build: .
container_name: linkding
image: wirelos/linkding:latest
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
- PORT=3000
- CHROME_EXECUTABLE_PATH=/usr/bin/chromium
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/links', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s