mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-08 09:37:45 +02:00
docker-images: change names of rebuild and docker-compose headers
This commit is contained in:
parent
8d9e5c87c5
commit
d28ce26e58
@ -18,7 +18,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8080` | `8080` | TCP | WebUI |
|
| `8080` | `8080` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -32,9 +32,7 @@ docker run --name homer \
|
|||||||
-d b4bz/homer:latest
|
-d b4bz/homer:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## config.yml
|
||||||
|
|
||||||
This is a sample config.yml:
|
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
title: "tmp"
|
title: "tmp"
|
||||||
|
@ -27,7 +27,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `10407` | `10407` | TCP | WebUI |
|
| `10407` | `10407` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -37,7 +37,7 @@ docker-compose up -d
|
|||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "3"
|
version: "3"
|
||||||
|
@ -20,7 +20,7 @@ Set the following ports with the -p tag.
|
|||||||
| `8118` | `8118` | TCP | privoxy web proxy |
|
| `8118` | `8118` | TCP | privoxy web proxy |
|
||||||
| `9050` | `9050` | TCP | socks protocol port |
|
| `9050` | `9050` | TCP | socks protocol port |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -56,7 +56,7 @@ docker-compose file.
|
|||||||
| ---- | -------------------- |
|
| ---- | -------------------- |
|
||||||
| `db` | Ensure db is running |
|
| `db` | Ensure db is running |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -64,7 +64,7 @@ docker-compose down
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "2"
|
version: "2"
|
||||||
|
@ -27,7 +27,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `80` | `8765` | TCP | WebUI |
|
| `80` | `8765` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -32,7 +32,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | --------- | ------------------ |
|
| -------------- | ------------------------ | --------- | ------------------ |
|
||||||
| `25565` | `25565` | Minecraft | Port for Minecraft |
|
| `25565` | `25565` | Minecraft | Port for Minecraft |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -39,7 +39,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `3000` | `3000` | TCP | WebUI |
|
| `3000` | `3000` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -50,7 +50,7 @@ docker-compose up -d
|
|||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "3"
|
version: "3"
|
||||||
|
@ -19,7 +19,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ------------------------------------- |
|
| -------------- | ------------------------ | -------- | ------------------------------------- |
|
||||||
| `22` | `2222` | TCP | ssh port for accessing the git server |
|
| `22` | `2222` | TCP | ssh port for accessing the git server |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -24,7 +24,7 @@ There are some special variables to set.
|
|||||||
|
|
||||||
GPU support is documented in [the docker entry](../docker.md).
|
GPU support is documented in [the docker entry](../docker.md).
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -26,7 +26,7 @@ There are some special variables to set.
|
|||||||
| ----------- | ---------------------- |
|
| ----------- | ---------------------- |
|
||||||
| `--cap-add` | add linux capabilities |
|
| `--cap-add` | add linux capabilities |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -33,7 +33,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `4040` | `4040` | TCP | WebUI |
|
| `4040` | `4040` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -40,7 +40,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8096` | `8096` | TCP | WebUI |
|
| `8096` | `8096` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -49,7 +49,7 @@ docker pull linuxserver/jellyfin:latest
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "2"
|
version: "2"
|
||||||
|
@ -31,7 +31,7 @@ Set the following ports with the -p tag.
|
|||||||
| `22000` | `22000` | TCP | Syncthing internal |
|
| `22000` | `22000` | TCP | Syncthing internal |
|
||||||
| `21027` | `21027` | UDP | Syncthing internal |
|
| `21027` | `21027` | UDP | Syncthing internal |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -29,7 +29,7 @@ And finally generate the DCIM keys and rebuild once again.
|
|||||||
|
|
||||||
Afterwards you're ready to go by once again running the `rebuild.sh` file.
|
Afterwards you're ready to go by once again running the `rebuild.sh` file.
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -9,7 +9,7 @@ You can just run the script and it will install all needed dependencies.
|
|||||||
After that just go ahead and start the container.
|
After that just go ahead and start the container.
|
||||||
You can then configure reverse proxies by adding websites.
|
You can then configure reverse proxies by adding websites.
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -26,7 +26,7 @@ There are some special variables to set.
|
|||||||
| -------------- | ------------------------ |
|
| -------------- | ------------------------ |
|
||||||
| `--privileged` | is needed due to openvpn |
|
| `--privileged` | is needed due to openvpn |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -22,7 +22,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `80` | `80` | TCP | WebUI |
|
| `80` | `80` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -32,7 +32,7 @@ docker pull mariadb:latest
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '2'
|
version: '2'
|
||||||
|
@ -23,7 +23,7 @@ Set the following ports with the -p tag.
|
|||||||
|
|
||||||
The default username is `print`, the default password is `print`.
|
The default username is `print`, the default password is `print`.
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -23,7 +23,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `80` | `80` | TCP | WebUI |
|
| `80` | `80` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -33,7 +33,7 @@ docker pull mariadb
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "3.1"
|
version: "3.1"
|
||||||
|
@ -12,7 +12,7 @@ Set the following variables with the -e tag.
|
|||||||
| `ZONE=` | append your domain (for example `main.com`) |
|
| `ZONE=` | append your domain (for example `main.com`) |
|
||||||
| `SUBDOMAIN` | append your subdomain (for example `dynamic`) |
|
| `SUBDOMAIN` | append your subdomain (for example `dynamic`) |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -20,7 +20,7 @@ Set the following volumes with the -v tag.
|
|||||||
| `onedrive_config` | `/config` | configuration storage for the server connection |
|
| `onedrive_config` | `/config` | configuration storage for the server connection |
|
||||||
| `onedrive_doc` | `/documents` | storage for downloaded documents |
|
| `onedrive_doc` | `/documents` | storage for downloaded documents |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -19,7 +19,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | -------------------- |
|
| -------------- | ------------------------ | -------- | -------------------- |
|
||||||
| `9001` | `9001` | TCP | Portainer agent port |
|
| `9001` | `9001` | TCP | Portainer agent port |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -19,7 +19,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `9000` | `9000` | TCP | WebUI |
|
| `9000` | `9000` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -16,7 +16,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8000` | `8000` | TCP | WebUI |
|
| `8000` | `8000` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -25,7 +25,7 @@ docker pull prologic/golinks:latest
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "3.1"
|
version: "3.1"
|
||||||
|
@ -18,7 +18,7 @@ There are some special variables to set.
|
|||||||
| ------ | ------------------------------------------------------------- |
|
| ------ | ------------------------------------------------------------- |
|
||||||
| `-uri` | define the gopher site to proxy (just 'domain.tld' is enough) |
|
| `-uri` | define the gopher site to proxy (just 'domain.tld' is enough) |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -18,7 +18,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8000` | `8000` | TCP | WebUI |
|
| `8000` | `8000` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -25,7 +25,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `4200` | `4200` | TCP | WebUI |
|
| `4200` | `4200` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -26,7 +26,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `7777` | `7777` | TCP | WebUI |
|
| `7777` | `7777` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -34,7 +34,7 @@ There are some special variables to set.
|
|||||||
| `-w \<workgroup\>` | define workgroup |
|
| `-w \<workgroup\>` | define workgroup |
|
||||||
| `-s \<name;path\>(;browse;readonly;guest;users;admins;writelist;comment)` | define shares |
|
| `-s \<name;path\>(;browse;readonly;guest;users;admins;writelist;comment)` | define shares |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -19,7 +19,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8080` | `8080` | TCP | WebUI |
|
| `8080` | `8080` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -10,7 +10,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `8080` | `8080` | TCP | WebUI |
|
| `8080` | `8080` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -28,7 +28,7 @@ Set the following ports with the -p tag.
|
|||||||
| `10011` | `10011` | TCP | ts3-intern |
|
| `10011` | `10011` | TCP | ts3-intern |
|
||||||
| `30033` | `30033` | TCP | ts3-intern |
|
| `30033` | `30033` | TCP | ts3-intern |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -39,7 +39,7 @@ Set the following ports with the -p tag.
|
|||||||
| `15000` | `15000` | UDP | mordhau internal |
|
| `15000` | `15000` | UDP | mordhau internal |
|
||||||
| `27015` | `27015` | UDP | mordhau internal |
|
| `27015` | `27015` | UDP | mordhau internal |
|
||||||
|
|
||||||
## Start
|
## start.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -67,7 +67,7 @@ docker run --name=mordhau \
|
|||||||
tetricz/mordhau-server
|
tetricz/mordhau-server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Stop
|
## stop.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
|
@ -26,7 +26,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ---------------------------- |
|
| -------------- | ------------------------ | -------- | ---------------------------- |
|
||||||
| `70` | `70` | TCP | port for the gopher-protocol |
|
| `70` | `70` | TCP | port for the gopher-protocol |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -18,7 +18,7 @@ Set the following volumes with the -p tag.
|
|||||||
| -------------- | --------------------- | -------- | ----------- |
|
| -------------- | --------------------- | -------- | ----------- |
|
||||||
| `5000` | `80` | TCP | HTTP port |
|
| `5000` | `80` | TCP | HTTP port |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -30,7 +30,7 @@ There are some special variables to set.
|
|||||||
| ------------- | ---------------------------------------------------------------------- |
|
| ------------- | ---------------------------------------------------------------------- |
|
||||||
| `--read-only` | make radicale read-only, caldav can still be changed and used normally |
|
| `--read-only` | make radicale read-only, caldav can still be changed and used normally |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
@ -46,12 +46,7 @@ docker run --name radicale \
|
|||||||
-d tomsquest/docker-radicale:2.1.11.4
|
-d tomsquest/docker-radicale:2.1.11.4
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## radicale\_config/config
|
||||||
|
|
||||||
After installation there are a few crucial steps to take to secure your
|
|
||||||
calendars with a login.
|
|
||||||
It is important to change the config file which can be found in the docker
|
|
||||||
volume with name `radicale_config` to match the `config`-file.
|
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
# -*- mode: conf -*-
|
# -*- mode: conf -*-
|
||||||
|
@ -43,7 +43,7 @@ Set the following ports in the `ports:` section.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `80` | `80` | TCP | WebUI |
|
| `80` | `80` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -54,7 +54,7 @@ docker pull redis:alpine
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '3'
|
version: '3'
|
||||||
|
@ -18,7 +18,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------- |
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
| `80` | `80` | TCP | WebUI |
|
| `80` | `80` | TCP | WebUI |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -31,7 +31,7 @@ Set the following ports with the -p tag.
|
|||||||
| -------------- | ------------------------ | -------- | ----------------- |
|
| -------------- | ------------------------ | -------- | ----------------- |
|
||||||
| `80` | `80` | TCP | dns protocol port |
|
| `80` | `80` | TCP | dns protocol port |
|
||||||
|
|
||||||
## Rebuild
|
## rebuild.sh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -39,7 +39,7 @@ docker-compose down
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker-Compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: "3.1"
|
version: "3.1"
|
||||||
|
@ -2,9 +2,38 @@
|
|||||||
|
|
||||||
The official container and documentation was made by [zedeus](https://github.com/zedeus/nitter).
|
The official container and documentation was made by [zedeus](https://github.com/zedeus/nitter).
|
||||||
|
|
||||||
## Config file
|
## Volumes
|
||||||
|
|
||||||
Create a configuration file `nitter.conf` in a folder of your choice.
|
Set the following volumes with the -v tag.
|
||||||
|
|
||||||
|
| Outside mount/volume name | Container mount | Description |
|
||||||
|
| ------------------------- | --------------- | ------------------------- |
|
||||||
|
| `nitter` | `/data` | storage for all of nitter |
|
||||||
|
|
||||||
|
## Ports
|
||||||
|
|
||||||
|
Set the following ports with the -p tag.
|
||||||
|
|
||||||
|
| Container Port | Recommended outside port | Protocol | Description |
|
||||||
|
| -------------- | ------------------------ | -------- | ----------- |
|
||||||
|
| `8080` | `8080` | TCP | WebUI |
|
||||||
|
|
||||||
|
## rebuild.sh
|
||||||
|
|
||||||
|
```shell
|
||||||
|
#!/bin/sh
|
||||||
|
docker stop nitter
|
||||||
|
docker rm nitter
|
||||||
|
docker pull zedeus/nitter:latest
|
||||||
|
docker run --name nitter \
|
||||||
|
--restart unless-stopped \
|
||||||
|
-v <path to nitter conf folder>/nitter.conf:/src/nitter.conf \
|
||||||
|
-v nitter:/data \
|
||||||
|
-p 8080:8080 \
|
||||||
|
-d zedeus/nitter:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
## nitter.conf
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -29,34 +58,3 @@ RestartSec=15
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
## Volumes
|
|
||||||
|
|
||||||
Set the following volumes with the -v tag.
|
|
||||||
|
|
||||||
| Outside mount/volume name | Container mount | Description |
|
|
||||||
| ------------------------- | --------------- | ------------------------- |
|
|
||||||
| `nitter` | `/data` | storage for all of nitter |
|
|
||||||
|
|
||||||
## Ports
|
|
||||||
|
|
||||||
Set the following ports with the -p tag.
|
|
||||||
|
|
||||||
| Container Port | Recommended outside port | Protocol | Description |
|
|
||||||
| -------------- | ------------------------ | -------- | ----------- |
|
|
||||||
| `8080` | `8080` | TCP | WebUI |
|
|
||||||
|
|
||||||
## Rebuild
|
|
||||||
|
|
||||||
```shell
|
|
||||||
#!/bin/sh
|
|
||||||
docker stop nitter
|
|
||||||
docker rm nitter
|
|
||||||
docker pull zedeus/nitter:latest
|
|
||||||
docker run --name nitter \
|
|
||||||
--restart unless-stopped \
|
|
||||||
-v <path to nitter conf folder>/nitter.conf:/src/nitter.conf \
|
|
||||||
-v nitter:/data \
|
|
||||||
-p 8080:8080 \
|
|
||||||
-d zedeus/nitter:latest
|
|
||||||
```
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user