You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
2 years ago
|
# docker-compose.yml
|
||
|
# linkding Docker Hub: https://hub.docker.com/r/sissbruecker/linkding
|
||
|
# The linkding WebUI can be found at http://<HOST_IP>:<LINKDING_WEBUI_PORT>
|
||
|
# postgres Docker Hub: https://hub.docker.com/_/postgres
|
||
|
|
||
|
networks:
|
||
|
<NETWORK_NAME>:
|
||
|
external: yes
|
||
|
|
||
|
services:
|
||
|
linkding:
|
||
|
container_name: linkding
|
||
|
depends_on:
|
||
|
- linkding-db
|
||
|
environment:
|
||
|
- LD_DB_ENGINE=postgres
|
||
|
- LD_DB_DATABASE=linkding
|
||
|
- LD_DB_USER=linkding
|
||
|
- LD_DB_PASSWORD=<PASSWORD>
|
||
|
- LD_DB_HOST=linkding-db
|
||
|
image: sissbruecker/linkding:<VERSION_TAG>
|
||
|
networks:
|
||
|
- <NETWORK_NAME>
|
||
|
ports:
|
||
|
- "9090:9090" # linkding WebUI Port
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- ./linkding/data:/etc/linkding/data
|
||
|
linkding-db:
|
||
|
container_name: linkding-db
|
||
|
environment:
|
||
|
- POSTGRES_DB=linkding
|
||
|
- POSTGRES_USER=linkding
|
||
|
- POSTGRES_PASSWORD=<PASSWORD>
|
||
|
image: postgres:<VERISON_TAG>
|
||
|
logging:
|
||
|
driver: "none"
|
||
|
networks:
|
||
|
- <NETWORK_NAME>
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- ./linkding-db/data:/var/lib/postgresql/data
|