-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (32 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (32 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Installation: https://github.com/linkwarden/linkwarden/blob/main/docker-compose.yml | https://docs.linkwarden.app/self-hosting/installation
services:
linkwarden:
image: ghcr.io/linkwarden/linkwarden:latest
container_name: linkwarden
env_file: .env
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: unless-stopped
ports:
- 3000:3000
volumes:
- /opt/appdata/linkwarden/data:/data/data
depends_on:
- postgres
networks:
- proxy
postgres:
image: postgres:17-alpine
container_name: postgres
env_file: .env
restart: unless-stopped
volumes:
- postgres-volume:/var/lib/postgresql/data
networks:
- proxy
volumes:
postgres-volume: {}
networks:
proxy:
driver: bridge
external: true