1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-10 18:47:45 +02:00
wiki/wiki/docker-images/prologic_-_golinks.md
TiynGER 046b9bc995 docker-image folder added
The docker-images where scattered across different files.
For faster access i moved them to an extra folder and linked them if they're needed elsewhere.
entries that where outside this folder and only contained basic documentation of the docker image where removed.
2021-03-16 15:34:35 +01:00

49 lines
1.0 KiB
Markdown

# prologic - golinks
## Volumes
Set the following volumes with the -v tag.
| Volume-Name | Container mount | Description |
| ----------- | --------------- | -------------------------- |
| `golinks` | `/search.db` | database with all commands |
## Ports
Set the following ports with the -p tag.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| `8000` | `8000` | TCP | WebUI |
## Rebuild
```shell
#!/bin/sh
docker-compose down
docker pull prologic/golinks:latest
docker-compose up -d
```
## Docker-Compose.yml
```yml
version: "3.1"
services:
golinks:
image: prologic/golinks:latest
container_name: golinks
restart: unless-stopped
command:
- "-url=http://search.home.server/search?q=%s"
- "-suggest=https://suggestqueries.google.com/complete/search?client=firefox&q=%s"
ports:
- "8090:8000"
volumes:
- golinks:/search.db
volumes:
golinks:
driver: local
```