mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 22:56:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
13
linkding/.env
Normal file
13
linkding/.env
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Linkding
|
||||
LINKDING_PORT=
|
||||
LINKDING_DBNAME=
|
||||
LINKDING_DBUSER=
|
||||
LINKDING_DBPASS=
|
||||
LINKDING_URL=
|
||||
43
linkding/docker-compose.yaml
Normal file
43
linkding/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
services:
|
||||
|
||||
# linkding (https://github.com/sissbruecker/linkding)
|
||||
linkding:
|
||||
image: ${REGISTRY}/linkding
|
||||
container_name: linkding
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${LINKDING_PORT:-9090}:9090
|
||||
environment:
|
||||
LD_DB_ENGINE: postgres
|
||||
LD_DB_HOST: linkding-postgresql
|
||||
LD_DB_PORT: 5432
|
||||
LD_DB_DATABASE: ${LINKDING_DBNAME:-linkding}
|
||||
LD_DB_USER: ${LINKDING_DBUSER:-linkding}
|
||||
LD_DB_PASSWORD: ${LINKDING_DBPASS:-linkding}
|
||||
|
||||
LD_DISABLE_BACKGROUND_TASKS: False
|
||||
LD_DISABLE_URL_VALIDATION: False
|
||||
LD_ENABLE_AUTH_PROXY: False
|
||||
LD_CSRF_TRUSTED_ORIGINS: ${LINKDING_URL:-http://localhost:${LINKDING_PORT:-9090}}
|
||||
volumes:
|
||||
- ./data:/etc/linkding/data
|
||||
depends_on:
|
||||
- linkding-postgresql
|
||||
networks:
|
||||
- linkding
|
||||
linkding-postgresql:
|
||||
image: ${REGISTRY}/postgres
|
||||
container_name: linkding-postgresql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${LINKDING_DBNAME:-linkding}
|
||||
POSTGRES_USER: ${LINKDING_DBUSER:-linkding}
|
||||
POSTGRES_PASSWORD: ${LINKDING_DBPASS:-linkding}
|
||||
volumes:
|
||||
- ./sql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
- linkding
|
||||
|
||||
networks:
|
||||
linkding:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue