29 lines
773 B
YAML
29 lines
773 B
YAML
|
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
|