19 lines
481 B
YAML
19 lines
481 B
YAML
|
services:
|
||
|
postgres:
|
||
|
image: postgres:16-alpine
|
||
|
env_file: stack.env
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- ${ROOT_DIR}/pgdata:/var/lib/postgresql/data
|
||
|
linkwarden:
|
||
|
env_file: stack.env
|
||
|
environment:
|
||
|
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||
|
restart: always
|
||
|
image: ghcr.io/linkwarden/linkwarden:latest
|
||
|
ports:
|
||
|
- 3445:3000
|
||
|
volumes:
|
||
|
- ${ROOT_DIR}/data:/data/data
|
||
|
depends_on:
|
||
|
- postgres
|