add linkwarden

This commit is contained in:
Matt Reeves 2024-09-23 01:10:38 -04:00
parent 3e63d78e62
commit cd0294c9ca

View file

@ -161,6 +161,28 @@ services:
networks: networks:
gitea_main: gitea_main:
ipv4_address: 172.25.0.25 ipv4_address: 172.25.0.25
## Linkwarden
postgres:
image: postgres:16-alpine
env_file: .env
restart: always
volumes:
- /docker/appdata/linkwarden/pgdata:/var/lib/postgresql/data
linkwarden:
env_file: .env
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: always
container_name: linkwarden
image: ghcr.io/linkwarden/linkwarden:v2.7.1
networks:
- gitea_main
ports:
- 3005:3000
volumes:
- /docker/appdata/linkwarden/data:/data/data
depends_on:
- postgres
syncthing: syncthing:
image: ghcr.io/linuxserver/syncthing@sha256:f80ba28cd9597b38a8f25ce1c5097aa92bb08d34a684286e759a90edcd5db617 image: ghcr.io/linuxserver/syncthing@sha256:f80ba28cd9597b38a8f25ce1c5097aa92bb08d34a684286e759a90edcd5db617