# docker-compose.yml # linkding Docker Hub: https://hub.docker.com/r/sissbruecker/linkding # The linkding WebUI can be found at http://: # postgres Docker Hub: https://hub.docker.com/_/postgres volumes: linkding-db: networks: : 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= - LD_DB_HOST=linkding-db image: sissbruecker/linkding: networks: - 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= image: postgres: logging: driver: "none" networks: - restart: unless-stopped volumes: - linkding-db:/var/lib/postgresql/data