Files
docker-compose/linkwarden/docker-compose.yml
2026-03-02 15:27:28 +01:00

49 lines
1.4 KiB
YAML

services:
postgres:
image: postgres:16-alpine
env_file: .env
restart: always
volumes:
- pgdata:/var/lib/postgresql
linkwarden:
env_file: .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:
- 3011:3000
volumes:
- data:/data/data
depends_on:
- postgres
- meilisearch
labels:
com.centurylinklabs.watchtower.enable: true
homepage.container: linkwarden-linkwarden-1
homepage.description: Link Manager
homepage.group: Utilities
homepage.href: https://linkwarden.sectorq.eu
homepage.icon: linkwarden.png
homepage.name: Linkwarden
homepage.server: my-docker
homepage.weight: 1
homepage.widget.type: linkwarden
homepage.widget.url: https://linkwarden.sectorq.eu
homepage.widget.key: eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..yD9dHgIGR0BMXOs9.IM74UCsBShLgiDEKD78DRfFlunnwAI2S7FL0CUph-V4LuCrmmcRiiL-mpM3TLGQ_AaQZ2tKF9YQrBxZeZahKZ-JWK59hoijHznIu33EKIChoMGHhx54H.WPXJS-6CDYwfwox_0RpZkg
wud.watch: true
wud.watch.digest: true
meilisearch:
image: getmeili/meilisearch:v1.12.8
restart: always
env_file:
- .env
volumes:
- meili_data:/meili_data
volumes:
pgdata:
data:
meili_data: