mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 18:01:22 +02:00
linkding: added for bookmarking and archiving
This commit is contained in:
@@ -6,7 +6,9 @@ The official container and documentation was made by [b4bz](https://hub.docker.c
|
||||
## Set-up
|
||||
|
||||
Create the file `rebuild.sh`.
|
||||
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
||||
Run `./rebuild.sh` afterwards to create the volumes.
|
||||
Place the file `config.yml` in the `homer` docker volume and change it to your
|
||||
needs.
|
||||
|
||||
## Volumes
|
||||
|
||||
|
49
wiki/docker-images/sissbrueckner_-_linkding.md
Normal file
49
wiki/docker-images/sissbrueckner_-_linkding.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# sissbrueckner - linkding
|
||||
|
||||
This is a docker container for a [linkding](../linkding.md) bookmark and
|
||||
archive service.
|
||||
The official container and documentation was made by
|
||||
[sissbrueckner](https://github.com/sissbruecker/linkding).
|
||||
|
||||
## Set-up
|
||||
|
||||
Create the file `rebuild.sh`.
|
||||
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
||||
Afterwards you need to create a user.
|
||||
This can be done by running the following line with changed credentials:
|
||||
|
||||
```sh
|
||||
docker exec -it linkding python manage.py createsuperuser --username=joe --email=joe@example.com
|
||||
```
|
||||
|
||||
You will be asked for a password via the commandline.
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | ---------------------- | --------------------------- |
|
||||
| `linkding` | `/etc/linkding/data` | storage for persistent data |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `9090` | `9090` | TCP | WebUI |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker stop linkding
|
||||
docker rm linkding
|
||||
docker pull sissbruecker/linkding:latest
|
||||
docker run --name linkding \
|
||||
--restart unless-stopped \
|
||||
-p 9090:9090 \
|
||||
-v linkding:/etc/linkding/data \
|
||||
-d sissbruecker/linkding:latest
|
||||
```
|
Reference in New Issue
Block a user