mirror of
https://github.com/tiyn/wiki.git
synced 2026-05-07 02:11:34 +02:00
docker-images/docker: restructuring
This commit is contained in:
32
wiki/docker/spikecodes_-_libreddit.md
Executable file
32
wiki/docker/spikecodes_-_libreddit.md
Executable file
@@ -0,0 +1,32 @@
|
||||
# spikecodes - libreddit
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for the alternative reddit
|
||||
frontend [libreddit](../libreddit.md).
|
||||
The official container and documentation was made by
|
||||
[spikecodes](https://github.com/spikecodes/libreddit).
|
||||
|
||||
## Set-up
|
||||
|
||||
Create the file `rebuild.sh`.
|
||||
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `8080` | `8080` | TCP | WebUI |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```sh
|
||||
#!/bin/sh
|
||||
docker stop libreddit
|
||||
docker rm libreddit
|
||||
docker pull spikecodes/libreddit:latest
|
||||
docker run --name libreddit \
|
||||
--restart unless-stopped \
|
||||
-p 8080:8080 \
|
||||
-d spikecodes/libreddit:latest
|
||||
```
|
||||
Reference in New Issue
Block a user