19 lines
508 B
YAML
19 lines
508 B
YAML
|
|
services:
|
||
|
|
postgres:
|
||
|
|
image: postgres:16-alpine
|
||
|
|
env_file: .env
|
||
|
|
restart: unless-stopped
|
||
|
|
volumes:
|
||
|
|
- srv/docker/linkwarden/pgdata:/var/lib/postgresql/data
|
||
|
|
linkwarden:
|
||
|
|
env_file: .env
|
||
|
|
environment:
|
||
|
|
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||
|
|
restart: unless-stopped
|
||
|
|
image: ghcr.io/linkwarden/linkwarden:latest
|
||
|
|
ports:
|
||
|
|
- 5017:3000
|
||
|
|
volumes:
|
||
|
|
- /srv/docker/linkwarden/data:/data/data
|
||
|
|
depends_on:
|
||
|
|
- postgres
|