Add Random_Containers/linkwarden/compose.yaml
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user