36 lines
783 B
Markdown
36 lines
783 B
Markdown
---
|
|
created: 2025-07-07T12:45
|
|
updated: 2025-07-07T12:46
|
|
---
|
|
|
|
|
|
Beispiel Compose file
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
env_file: .env
|
|
restart: always
|
|
volumes:
|
|
- ./pgdata:/var/lib/postgresql/data
|
|
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:
|
|
- 3000:3000
|
|
volumes:
|
|
- ./data:/data/data
|
|
depends_on:
|
|
- postgres
|
|
- meilisearch
|
|
meilisearch:
|
|
image: getmeili/meilisearch:v1.12.8
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./meili_data:/meili_data |