release: 2026-08-01
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
linki:
|
||||
image: moaljumaa/linki:latest
|
||||
# To build from source instead: comment out image above and uncomment below
|
||||
# build: .
|
||||
ports:
|
||||
- "127.0.0.1:${PORT:-3456}:3000"
|
||||
volumes:
|
||||
# Persist SQLite database outside the container
|
||||
- ./data:/data
|
||||
env_file:
|
||||
- .env.local
|
||||
environment:
|
||||
# Runtime — always set by compose, do not put in .env.local
|
||||
- NODE_ENV=production
|
||||
- LINKI_DB_PATH=/data/linki.db
|
||||
|
||||
# --- copy the block below into .env.local and fill in values ---
|
||||
#
|
||||
# Public URL of the app (used by NextAuth for redirects)
|
||||
# NEXTAUTH_URL=
|
||||
#
|
||||
# Random secret for NextAuth session signing
|
||||
# Generate with: openssl rand -base64 32
|
||||
# NEXTAUTH_SECRET=
|
||||
#
|
||||
# Password to log in to the Linki UI
|
||||
# AUTH_PASSWORD=
|
||||
#
|
||||
# Set to "false" to show the browser during automation (debug only)
|
||||
# HEADLESS=true
|
||||
|
||||
restart: unless-stopped
|
||||
# Caps Linki's CPU so a busy runner can't starve other containers on a
|
||||
# small box. Raise/remove this if you have cores to spare.
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.5"
|
||||
Reference in New Issue
Block a user