Add initial Docker configuration files for Linkwarden setup

This commit is contained in:
Edgar P. Burkhart 2025-05-16 15:29:49 +02:00
commit 14ea341370
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 46 additions and 0 deletions

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# Docker compose file for Linkwarden
Docker-compose file to be used with Linkwarden.
## Base environment
```
PORT=
POSTGRES_PASSWORD=
```
## OIDC
```
NEXT_PUBLIC_AUTHENTIK_ENABLED=true
AUTHENTIK_CUSTOM_NAME=
AUTHENTIK_ISSUER=
AUTHENTIK_CLIENT_ID=
AUTHENTIK_CLIENT_SECRET=
```

28
compose.yaml Normal file
View file

@ -0,0 +1,28 @@
services:
postgres:
image: postgres:16-alpine
env_file: stack.env
restart: always
volumes:
- /docker/linkwarden/pgdata:/var/lib/postgresql/data
linkwarden:
env_file: stack.env
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: always
# build: . # uncomment to build from source
image: ghcr.io/linkwarden/linkwarden:latest # comment to build from source
ports:
- ${PORT-3000}:3000
volumes:
- /docker/linkwarden/data:/data/data
depends_on:
- postgres
- meilisearch
meilisearch:
image: getmeili/meilisearch:v1.12.8
restart: always
env_file:
- stack.env
volumes:
- /docker/linkwarden/meili_data:/meili_data

0
stack.env Normal file
View file