diff --git a/#installation.md b/arch-linux/#installation.md similarity index 100% rename from #installation.md rename to arch-linux/#installation.md diff --git a/README.md b/arch-linux/README.md similarity index 100% rename from README.md rename to arch-linux/README.md diff --git a/applications/calendar.md b/arch-linux/applications/calendar.md similarity index 100% rename from applications/calendar.md rename to arch-linux/applications/calendar.md diff --git a/applications/contacts.md b/arch-linux/applications/contacts.md similarity index 100% rename from applications/contacts.md rename to arch-linux/applications/contacts.md diff --git a/applications/mail.md b/arch-linux/applications/mail.md similarity index 100% rename from applications/mail.md rename to arch-linux/applications/mail.md diff --git a/applications/tablecalculation.md b/arch-linux/applications/tablecalculation.md similarity index 100% rename from applications/tablecalculation.md rename to arch-linux/applications/tablecalculation.md diff --git a/applications/wine.md b/arch-linux/applications/wine.md similarity index 100% rename from applications/wine.md rename to arch-linux/applications/wine.md diff --git a/devices/thinkpad_x220.md b/arch-linux/devices/thinkpad_x220.md similarity index 100% rename from devices/thinkpad_x220.md rename to arch-linux/devices/thinkpad_x220.md diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000..8ca03b1 --- /dev/null +++ b/docker/README.md @@ -0,0 +1,38 @@ +# DockerRebuilds +In this repository you can find a bunch of rebuild shell scripts to automatically stop, remove, update and rebuild containers (or if they dont exist just build them). + +| Name | Description | Rebuild Readme | Installation Guide | +| ----------------- | ----------------------------------------------- | -------------- | ------------------ | +| airsonic | music streaming service | yes | no | +| bind | dns service | yes | no | +| cups | print service | yes | no | +| docker-mailserver | mail service | yes | no | +| docker-radicale | caldav service | yes | no | +| folding-at-home | give your cpu power to fight disease | yes | no | +| gitea | github-like git service | yes | no | +| git-server-docker | git-server without gui | yes | no | +| gopherproxy | show a given gopherhole over http | yes | no | +| gopherserver | service to run a gopherhole | yes | no | +| hastebin | pastebin alternative | yes | no | +| homer | static website | yes | no | +| jellyfin | video streaming service | yes | no | +| mordhau-server | server for steamgame mordhau | yes | no | +| nginx | reverse proxy for http(s) | yes | no | +| onedrive | onedrive client | yes | no | +| openvpn | vpn service | yes | no | +| owncloud | server app for owncloud | yes | no | +| owncloudclient | client app for owncloud | yes | no | +| pinedocs | view files, good for documentation or wiki | yes | no | +| pltu | vpn tunnel to a plex service | yes | no | +| portainer | docker monitoring web-gui | yes | no | +| portainer-agent | docker agent to connect to existing portainer | yes | no | +| python-flask | python flask webdev framework | yes | no | +| samba | shared network storage | yes | no | +| syncthing | decentralized synchronization tool | yes | no | +| teamspeak | teamspeak3 server | yes | no | +| todo | simple todo webgui | yes | no | + +## Dependencies +These scripts only require ```sh``` and a standard ```docker``` install. +Some of them need the additional ```docker-compose``` package to work, they will have corresponding files in their folders. +If there is more to the configuration than just running the script and following a guided configuration, there is a guide aswell. diff --git a/docker/airsonic/readme.md b/docker/airsonic/readme.md new file mode 100644 index 0000000..fbc5626 --- /dev/null +++ b/docker/airsonic/readme.md @@ -0,0 +1,32 @@ +# Airsonic +This is a dockerized version of a airsonic server. +The official container and documentation was made by [linuxserver](https://hub.docker.com/r/linuxserver/airsonic). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ---- | -------- | ------- | +| PUID | UserID | | +| PGID | GroupID | | +| TZ | Timezone | | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ----------------------- | +| airsonic_config | /config | Configuration files | +| airsonic_media | /media | Various other media | +| media_playlists | /playlists | Location for playlists | +| media_music | /music | Location for music | +| media_audiobooks | /audiobooks | Location for audiobooks | +| media_podcasts | /podcasts | location for podcasts | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 4040 | 4040 | TCP | WebUI | + diff --git a/docker/airsonic/rebuild.sh b/docker/airsonic/rebuild.sh new file mode 100755 index 0000000..0544c92 --- /dev/null +++ b/docker/airsonic/rebuild.sh @@ -0,0 +1,17 @@ +#!/bin/sh +docker stop airsonic +docker rm airsonic +docker pull linuxserver/airsonic +docker run --name=airsonic \ + --restart unless-stopped \ + -p 4040:4040 \ + -v airsonic_config:/config \ + -v airsonic_media:/media \ + -v media_playlists:/playlists \ + -v media_music:/music \ + -v media_audiobooks:/audiobooks \ + -v media_podcasts:/podcasts \ + -e PUID=0 \ + -e PGID=0 \ + -e TZ=Europe/Berlin \ + -d linuxserver/airsonic diff --git a/docker/bind/readme.md b/docker/bind/readme.md new file mode 100644 index 0000000..5de92f5 --- /dev/null +++ b/docker/bind/readme.md @@ -0,0 +1,26 @@ +# Bind +This is a dockerized version of a bind server. +The official container and documentation was made by [ventz](https://hub.docker.com/r/ventz/bind). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ----------------------- | +| bind_cache | /var/cache/bind | cache for dns | +| bind_etc | /etc/bind | configuration for dns | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------------- | +| 53 | 53 | TCP | dns protocol port | +| 53 | 53 | UDP | dns protocol port | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| ----- | ------------------------------------------------------- | +| --dns | set two of these flags for specific dns forward servers | diff --git a/docker/bind/rebuild.sh b/docker/bind/rebuild.sh new file mode 100755 index 0000000..d03d85c --- /dev/null +++ b/docker/bind/rebuild.sh @@ -0,0 +1,12 @@ +#!/bin/sh +docker stop bind +docker rm bind +docker pull ventz/bind:latest +docker run --name bind \ + --restart unless-stopped \ + --dns=1.1.1.1 --dns=8.8.8.8 \ + -p 53:53/udp \ + -p 53:53 \ + -v bind_cache:/var/cache/bind \ + -v bind_etc:/etc/bind \ + -d ventz/bind:latest diff --git a/docker/cups/readme.md b/docker/cups/readme.md new file mode 100644 index 0000000..0d8da8b --- /dev/null +++ b/docker/cups/readme.md @@ -0,0 +1,21 @@ +# Cups +This is a dockerized version of a cups server. +The official container and documentation was made by [olbat](https://hub.docker.com/r/olbat/cupsd). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ------------------------------- | +| cups | /etc/cups | configuration for printers, etc | +| /var/run/dbus | /var/run/dbus | connection to host dbus | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ------------------ | +| 631 | 631 | TCP | cups server webui | + +## Additional +The default username is ```print```, the default password is ```print```. diff --git a/docker/cups/rebuild.sh b/docker/cups/rebuild.sh new file mode 100755 index 0000000..368ffa4 --- /dev/null +++ b/docker/cups/rebuild.sh @@ -0,0 +1,11 @@ +#!/bin/sh +docker stop cups +docker rm cups +docker pull olbat/cupsd:latest +docker run --name cups \ + --restart unless-stopped \ + --net=host \ + -p 631:631 \ + -v /var/run/dbus:/var/run/dbus \ + -v cups:/etc/cups/ \ + -d olbat/cupsd:latest diff --git a/docker/docker-mailserver/readme.md b/docker/docker-mailserver/readme.md new file mode 100644 index 0000000..65be778 --- /dev/null +++ b/docker/docker-mailserver/readme.md @@ -0,0 +1,29 @@ +# Docker-mailserver +This is a dockerized version of a mail server. +The official container and documentation was made by [tvial](https://hub.docker.com/r/tvial/docker-mailserver). + +## Configuration +The configuration is done automatically using scripts by tvial. +First you need to download the essential setup files. + +``` +curl -o setup.sh https://raw.githubusercontent.com/tomav/docker-mailserver/master/setup.sh; chmod a+x ./setup.sh + +curl -o docker-compose.yml https://raw.githubusercontent.com/tomav/docker-mailserver/master/docker-compose.yml.dist + +curl -o .env https://raw.githubusercontent.com/tomav/docker-mailserver/master/.env.dist + +curl -o env-mailserver https://raw.githubusercontent.com/tomav/docker-mailserver/master/env-mailserver.dist +``` + +After that you need to edit the ```.env``` and the ```env-mailserver``` files to configure the mailserver. + +You then need to start the container with the ```rebuild.sh``` and add email accounts using the following command. + +```./setup.sh email add ()``` + +And finally generate the DCIM keys and rebuild once again. + +```./setup.sh config dkim``` + +Afterwards you're ready to go by once again running the ```rebuild.sh``` file. diff --git a/docker/docker-mailserver/rebuild.sh b/docker/docker-mailserver/rebuild.sh new file mode 100755 index 0000000..018bde2 --- /dev/null +++ b/docker/docker-mailserver/rebuild.sh @@ -0,0 +1,4 @@ +#!/bin/sh +docker-compose down +docker pull tvial/docker-mailserver:latest +docker-compose up -d diff --git a/docker/docker-radicale/readme.md b/docker/docker-radicale/readme.md new file mode 100644 index 0000000..0163f80 --- /dev/null +++ b/docker/docker-radicale/readme.md @@ -0,0 +1,28 @@ +# Docker-radicale +This is a dockerized version of a radicale server. +The official container and documentation was made by [tomsquest](https://hub.docker.com/r/tomsquest/docker-radicale). + +The ```latest``` tag at the moment of writing this readme was corrupted. +The last usable tag was used therefore to guarantee best performance for all users. + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | --------------------------- | +| radicale_data | /data | storage for caldav | +| radicale_config | /config | storage for radicale config | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ------------- | +| 5232 | 5232 | TCP | WebUI, caldav | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| ----------- | ---------------------------------------------------------------------- | +| --read-only | make radicale read-only, caldav can still be changed and used normally | diff --git a/docker/docker-radicale/rebuild.sh b/docker/docker-radicale/rebuild.sh new file mode 100755 index 0000000..2e21a61 --- /dev/null +++ b/docker/docker-radicale/rebuild.sh @@ -0,0 +1,11 @@ +#/bin/sh +docker stop radicale +docker rm radicale +docker pull tomsquest/docker-radicale:2.1.11.4 +docker run --name radicale \ + --restart unless-stopped \ + --read-only \ + -p 5232:5232 \ + -v radicale_data:/data \ + -v radicale_config:/config \ + -d tomsquest/docker-radicale:2.1.11.4 diff --git a/docker/foldingathome/readme.md b/docker/foldingathome/readme.md new file mode 100644 index 0000000..c1f0653 --- /dev/null +++ b/docker/foldingathome/readme.md @@ -0,0 +1,23 @@ +# Folding-at-home +This is a dockerized version of a folding-at-home server. +The official container and documentation was made by [johnktims](https://hub.docker.com/r/johnktims/folding-at-home). + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 7396 | 7396 | TCP | WebUI | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| ------- | -------------------------------------- | +| --user | set your username | +| --power | set the default power to fold at home | +| --team | set your teamid to contribute points | + +### GPU +To add a nvidia gpu add the ```nvidia-docker-toolkit``` or the recommended software for your gpu. +After that you can set you gpu to fold aswell by adding ```--gpus=all```. diff --git a/docker/foldingathome/rebuild.sh b/docker/foldingathome/rebuild.sh new file mode 100755 index 0000000..25cfd1d --- /dev/null +++ b/docker/foldingathome/rebuild.sh @@ -0,0 +1,12 @@ +#!/bin/sh +docker stop folding-at-home +docker rm folding-at-home +docker pull johnktims/folding-at-home +docker run --name folding-at-home \ + --restart unless-stopped \ + -it \ + -p 7396:7396 \ + -d johnktims/folding-at-home \ + --user=default \ + --power=full \ + --team=000000 diff --git a/docker/git-server-docker/readme.md b/docker/git-server-docker/readme.md new file mode 100644 index 0000000..cf0c687 --- /dev/null +++ b/docker/git-server-docker/readme.md @@ -0,0 +1,19 @@ +# git-server-docker +This is a dockerized version of a git server. +The official container and documentation was made by [jkarlos](https://hub.docker.com/r/jkarlos/git-server-docker). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | ----------------- | --------------------------- | +| git-server-repos | /git-server/repos | storage for git repos | +| git-server-keys | /git-server/keys | storage for user ssh keys | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ------------------------------------- | +| 22 | 2222 | TCP | ssh port for accessing the git server | + diff --git a/docker/git-server-docker/rebuild.sh b/docker/git-server-docker/rebuild.sh new file mode 100755 index 0000000..23040c6 --- /dev/null +++ b/docker/git-server-docker/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop git-server +docker rm git-server +docker pull jkarlos/git-server-docker:latest +docker run --name git-server \ + --restart unless-stopped \ + -p 2222:22 \ + -v git-server_repos:/git-server/repos \ + -v git-server_keys:/git-server/keys \ + -d jkarlos/git-server-docker diff --git a/docker/gitea/docker-compose.yml b/docker/gitea/docker-compose.yml new file mode 100644 index 0000000..2c4ed30 --- /dev/null +++ b/docker/gitea/docker-compose.yml @@ -0,0 +1,47 @@ +version: "2" + +networks: + gitea: + external: false + +services: + server: + image: gitea/gitea:latest + environment: + - USER_UID=1000 + - USER_GID=1000 + - DB_TYPE=mysql + - DB_HOST=db:3306 + - DB_NAME=gitea + - DB_USER=gitea + - DB_PASSWD=gitea + restart: unless-stopped + networks: + - gitea + volumes: + - data:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" + depends_on: + - db + db: + image: mysql:5.7 + restart: unless-stopped + environment: + - MYSQL_ROOT_PASSWORD=gitea + - MYSQL_USER=gitea + - MYSQL_PASSWORD=gitea + - MYSQL_DATABASE=gitea + networks: + - gitea + volumes: + - mysql:/var/lib/mysql + +volumes: + data: + driver: local + mysql: + driver: local diff --git a/docker/gitea/readme.md b/docker/gitea/readme.md new file mode 100644 index 0000000..256ade5 --- /dev/null +++ b/docker/gitea/readme.md @@ -0,0 +1,78 @@ +# Gitea +This is a dockerized version of an gitea server. +The official container and documentation was made by [gitea](https://hub.docker.com/gitea/gitea). +This docker-rebuild is made up by a ```docker-compose.yml``` file. +The services in this files are explained seperately. + +## Gitea + +### Environment-variables +Set the following environment-variables in the ```environment:``` section of the docker-compose file. + +| Name | Usage | Default | +| ------------------- | ------------------------------ | ------- | +| USER_UID | User userid to run gitea | | +| USER_GID | User groupid to run gitea | | +| DB_TYPE | Specify database type | | +| DB_HOST | Specify database host and port | | +| DB_NAME | Specify Name of the database | | +| DB_USER | Username for the database | | +| DB_PASSWD | Password for the database | | + + +### Volumes +Set the following volumes in the ```volumes:``` section of the docker-compose file. + +| Volume-Name | Container mount | Description | +| ---------------- | ---------------------- | ------------------------------ | +| data | /data | storage for data of git server | +| /etc/timezone | /etc/timezone:ro | link timezone | +| /etc/localtime | /etc/localtime | link localtime | + +### Ports +Set the following ports in the ```ports:``` section. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ---------------------- | +| 3000 | 3000 | TCP | WebUI | +| 22 | 222 | TCP | ssh port of git server | + +### Networks +Set the following networks in the ```networks:`` section of the docker-compose file. + +| Name | Usage | +| ----- | --------------------- | +| gitea | connect db with gitea | + +### Dependencies +Set the following dependencies in the ```depends_on:``` section of the docker-compose file. + +| Name | Usage | +| ----- | --------------------- | +| db | Ensure db is running | + +## MySql + +### Environment-variables +Set the following environment-variables in the ```environment:``` section of the docker-compose file. + +| Name | Usage | Default | +| ------------------- | ----------------------------- | ------- | +| MYSQL_ROOT_PASSWORD | set the mysql admin password | | +| MYSQL_USER | set the mysql username | | +| MYSQL_PASSWORD | set the mysql user password | | +| MYSQL_Database | specify mysql database to use | | + +### Volumes +Set the following volumes in the ```volumes:``` section of the docker-compose file. + +| Volume-Name | Container mount | Description | +| ---------------- | ---------------------- | ---------------------------- | +| mysql | /var/lib/mysql | storage for owncloud data | + +### Networks +Set the following networks in the ```networks:`` section of the docker-compose file. + +| Name | Usage | +| ----- | --------------------- | +| gitea | connect db with gitea | diff --git a/docker/gitea/rebuild.sh b/docker/gitea/rebuild.sh new file mode 100755 index 0000000..e25ba58 --- /dev/null +++ b/docker/gitea/rebuild.sh @@ -0,0 +1,3 @@ +#!/bin/sh +docker-compose down +docker-compose up -d diff --git a/docker/gopherproxy/readme.md b/docker/gopherproxy/readme.md new file mode 100644 index 0000000..ace3280 --- /dev/null +++ b/docker/gopherproxy/readme.md @@ -0,0 +1,17 @@ +# Gopherproxy +This is a dockerized version of a gopherproxy server. +The official container and documentation was made by [prologic](https://hub.docker.com/r/prologic/gopherproxy). + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ---------------------------------------- | +| 8000 | 8000 | TCP | port to proxy the gopher site as http to | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| ---- | ------------------------------------------------------------- | +| -uri | define the gopher site to proxy (just 'domain.tld' is enough) | diff --git a/docker/gopherproxy/rebuild.sh b/docker/gopherproxy/rebuild.sh new file mode 100755 index 0000000..77e38ba --- /dev/null +++ b/docker/gopherproxy/rebuild.sh @@ -0,0 +1,9 @@ +#!/bin/sh +docker stop gopheroverhttp +docker rm gopheroverhttp +docker pull prologic/gopherproxy +docker run --name gopheroverhttp \ + --restart unless-stopped \ + -p 8000:8000 \ + -d prologic/gopherproxy \ + -uri 'domain.tld' diff --git a/docker/gopherserver/readme.md b/docker/gopherserver/readme.md new file mode 100644 index 0000000..e0295ea --- /dev/null +++ b/docker/gopherserver/readme.md @@ -0,0 +1,24 @@ +# Gopherserver +This is a dockerized version of a gopher server. +The official container and documentation was made by [tiynger](https://hub.docker.com/r/tiynger/gopherserver). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ------------- | --------------------------------------------------- | --------- | +| SERVER_NAME | set this to your IP/Domain (no "gopher://" needed!) | localhost | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| -------------------- | --------------- | ----------------------------- | +| gopherwebdir | /var/gopher | directory for the gopher page | + +## Ports +Set the following ports with the -p tag. + +| Container port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | ---------- | ---------------------------- | +| 70 | 70 | TCP | port for the gopher-protocol | diff --git a/docker/gopherserver/rebuild.sh b/docker/gopherserver/rebuild.sh new file mode 100755 index 0000000..5241a67 --- /dev/null +++ b/docker/gopherserver/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop gopherserver +docker rm gopherserver +docker pull tiynger/gopherserver +docker run --name gopherserver \ + --restart unless-stopped \ + -p 70:70 \ + -v gopherserver:/var/gopher \ + -e SERVER_NAME='domain.tld' \ + -d tiynger/gopherserver diff --git a/docker/hastebin/readme.md b/docker/hastebin/readme.md new file mode 100644 index 0000000..395a05f --- /dev/null +++ b/docker/hastebin/readme.md @@ -0,0 +1,24 @@ +# Hastebin +This is a dockerized version of a hastebin server. +The official container and documentation was made by [rlister](https://hub.docker.com/r/rlister/hastebin). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ------------ | ----------------------- | ------- | +| STORAGE_TYPE | Type to store the datas | file | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | -------------------------- | +| hastebin | /app/data | storage directory for data | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 7777 | 7777 | TCP | WebUI | diff --git a/docker/hastebin/rebuild.sh b/docker/hastebin/rebuild.sh new file mode 100755 index 0000000..9c8ce0e --- /dev/null +++ b/docker/hastebin/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop hastebin +docker rm hastebin +docker pull rlister/hastebin:latest +docker run --name hastebin \ + --restart unless-stopped \ + -p 7777:7777 \ + -v hastebin:/app/data \ + -e STORAGE_TYPE=file \ + -d rlister/hastebin:latest diff --git a/docker/homer/config.yml b/docker/homer/config.yml new file mode 100644 index 0000000..d261a4a --- /dev/null +++ b/docker/homer/config.yml @@ -0,0 +1,26 @@ +title: "tmp" +subtitle: "tmp" +logo: "tmp" +footer: "" + +message: + style: "" + title: "tmp" + content: "tmp" + +links: + - name: "tmp" + icon: "tmp" + url: "tmp" + target: '_blank' + +services: + - name: "tmp" + icon: "tmp" + items: + - name: "tmp" + logo: "tmp" + subtitle: "tmp" + tag: "tmp" + url: "tmp" + target: '_blank' diff --git a/docker/homer/readme.md b/docker/homer/readme.md new file mode 100644 index 0000000..5c323e9 --- /dev/null +++ b/docker/homer/readme.md @@ -0,0 +1,18 @@ +# Homer +This is a dockerized version of a homer server. +The official container and documentation was made by [b4bz](https://hub.docker.com/r/b4bz/homer). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ------------------------ | --------------- | ---------------------------------- | +| /current/dir/config.yml | /www/config.yml | configuration file for static page | +| homer | /www/assets | storage for icons, etc | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 8080 | 8080 | TCP | WebUI | diff --git a/docker/homer/rebuild.sh b/docker/homer/rebuild.sh new file mode 100755 index 0000000..c7d3979 --- /dev/null +++ b/docker/homer/rebuild.sh @@ -0,0 +1,11 @@ +#!/bin/sh +docker stop homer +docker rm homer +docker pull b4bz/homer:latest +docker run --name homer \ + --restart unless-stopped \ + -p 8080:8080 \ + -v /root/docker/homer/config.yml:/www/config.yml \ + -v homer:/www/assets \ + -d b4bz/homer:latest + diff --git a/docker/jellyfin/docker-compose.yaml b/docker/jellyfin/docker-compose.yaml new file mode 100644 index 0000000..c8fdb55 --- /dev/null +++ b/docker/jellyfin/docker-compose.yaml @@ -0,0 +1,27 @@ +version: "2" +services: + jellyfin: + image: linuxserver/jellyfin + container_name: jellyfin + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/Berlin + volumes: + - config:/config + - media_movies:/data/movies + - media_tvshows:/data/tvshows + - transcode:/transcode + ports: + - 8096:8096 + restart: unless-stopped + +volumes: + config: + driver: local + transcode: + driver: local + media_movies: + external: true + media_tvshows: + external: true diff --git a/docker/jellyfin/readme.md b/docker/jellyfin/readme.md new file mode 100644 index 0000000..65ac09c --- /dev/null +++ b/docker/jellyfin/readme.md @@ -0,0 +1,36 @@ +# Jellyfin +This is a dockerized version of an jellyfin server. +The official container and documentation was made by [linuxserver](https://hub.docker.com/linuxserver/jellyfin). +This docker-rebuild is made up by a ```docker-compose.yml``` file. + +## Jellyfin + +### Environment-variables +Set the following environment-variables in the ```environment:``` section of the docker-compose file. + +| Name | Usage | Default | +| ------------------- | ---------------------------- | ------- | +| PUID | Userid to run the container | | +| PGID | Groupid to run the container | | +| TZ | specify the timezone | | + +### Volumes +Set the following volumes in the ```volumes:``` section of the docker-compose file. + +| Volume-Name | Container mount | Description | +| ---------------- | ---------------------- | ------------------------------------ | +| config | /config | storage for config files of jellyfin | +| media_movies | /data/movies | storage for movies | +| media_tvshows | /data/tvshows | storage for tvshows | +| transcode | /transcode | tmp storage to transcode | + +Because it is useful to have the possibility to use the ```media_movies``` and ```media_tvshows``` in multiple containers, +it is recommended to use them as external volumes (volumes section: ```external: true``` instead of ```driver: local```). +To use the rebuild the volumes have to exist before creating the container (```docker volume create media_movies``` and tvshows accordingly). + +### Ports +Set the following ports in the ```ports:``` section. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 8096 | 8096 | TCP | WebUI | diff --git a/docker/jellyfin/rebuild.sh b/docker/jellyfin/rebuild.sh new file mode 100755 index 0000000..7c648fb --- /dev/null +++ b/docker/jellyfin/rebuild.sh @@ -0,0 +1,4 @@ +#!/bin/sh +docker-compose down +docker pull linuxserver/jellyfin:latest +docker-compose up -d diff --git a/docker/mordhau-server/readme.md b/docker/mordhau-server/readme.md new file mode 100644 index 0000000..2f9018a --- /dev/null +++ b/docker/mordhau-server/readme.md @@ -0,0 +1,39 @@ +# Mordhau-server +This is a dockerized version of a mordhau server. +The official container and documentation was made by [tetricz](https://hub.docker.com/r/tetricz/mordhau-server). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ---- | ---------------------------------------------------- | ------- | +| QUERYPORT | port for query mordhau | | +| GAME_PORT | port for mordhau game | | +| BEACONPORT | port for mordhau beacon | | +| STEAM_CONNECT | set to tell if you want to connect to steam | | +| STEAMID64 | set the serve owner steamid | | +| UID | users userid to run | | +| GID | users groupid to run | | +| GAME_MODE | specify mordhau game mode | | +| PLAYER_COUNT | set a playercount limit | | +| SERVER_NAME | set a servername | | +| SERVER_PASSWORD | set a password | | +| ADMIN_PASSWORD | set an admin password | | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | -------------------- | ---------------------------------------- | +| mordhau | /serverdata/mordhau | storage for mordhau server relevant data | +| mordhau_steamcmd | /serverdata/steamcmd | storage for steam related data | + + +## Ports +Set the following ports with the -p tag. +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------------- | +| 7777 | 7777 | UDP | mordhau internal | +| 15000 | 15000 | UDP | mordhau internal | +| 27015 | 27015 | UDP | mordhau internal | + diff --git a/docker/mordhau-server/start.sh b/docker/mordhau-server/start.sh new file mode 100755 index 0000000..711a3c4 --- /dev/null +++ b/docker/mordhau-server/start.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +docker pull tetricz/mordhau-server +docker run --name=mordhau \ + --restart=unless-stopped \ + -p 27015:27015/udp \ + -p 7777:7777/udp \ + -p 15000:15000/udp \ + -v mordhau:/serverdata/mordhau \ + -v mordhau_steamcmd:/serverdata/steamcmd \ + -e QUERYPORT=27015 \ + -e GAME_PORT=7777 \ + -e BEACONPORT=15000 \ + -e STEAM_CONNECT=True \ + -e STEAMID64="tmp" \ + -e UID=99 \ + -e GID=100 \ + -e GAME_MODE=SKM \ + -e PLAYER_COUNT="16" \ + -e SERVER_NAME="tmp" \ + -e SERVER_PASSWORD="tmp" \ + -e ADMIN_PASSWORD="tmp" \ + tetricz/mordhau-server diff --git a/docker/mordhau-server/stop.sh b/docker/mordhau-server/stop.sh new file mode 100755 index 0000000..cd2de1d --- /dev/null +++ b/docker/mordhau-server/stop.sh @@ -0,0 +1,4 @@ +#/bin/sh + +docker stop mordhau +docker rm mordhau diff --git a/docker/nginx/readme.md b/docker/nginx/readme.md new file mode 100644 index 0000000..f9fd0b0 --- /dev/null +++ b/docker/nginx/readme.md @@ -0,0 +1,9 @@ +# Nginx +The easiest way to configure and run nginx is [ncdt](https://github.com/nasourso/nginx-certbot-docker-tui) by nasourso. +So the first step is downloading it. + +```wget https://raw.githubusercontent.com/nasourso/nginx-certbot-docker-tui/master/src/ncdt.sh``` + +You can just run the script and it will install all needed dependencies. +After that just go ahead and start the container. +You can then configure reverse proxies by adding websites. diff --git a/docker/nginx/rebuild.sh b/docker/nginx/rebuild.sh new file mode 100755 index 0000000..8f20d3d --- /dev/null +++ b/docker/nginx/rebuild.sh @@ -0,0 +1,5 @@ +#!/bin/sh +docker-compose down +docker pull nginx:latest +docker pull certbot/certbot:latest +docker-compose up -d diff --git a/docker/onedrive/readme.md b/docker/onedrive/readme.md new file mode 100644 index 0000000..8d0832f --- /dev/null +++ b/docker/onedrive/readme.md @@ -0,0 +1,19 @@ +# Onedrive +This is a dockerized version of a onedrive client. +The official container and documentation was made by [oznu](https://hub.docker.com/r/oznu/onedrive). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ---- | -------- | ------- | +| PUID | UserID | | +| PGID | GroupID | | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ----------------------------------------------- | +| onedrive_config | /config | configuration storage for the server connection | +| onedrive_doc | /documents | storage for downloaded documents | diff --git a/docker/onedrive/rebuild.sh b/docker/onedrive/rebuild.sh new file mode 100755 index 0000000..343cdaa --- /dev/null +++ b/docker/onedrive/rebuild.sh @@ -0,0 +1,11 @@ +#!/bin/sh +docker stop onedrive +docker rm onedrive +docker pull oznu/onedrive:latest +docker run --name onedrive \ + --restart unless-stopped \ + -v onedrive_config:/config \ + -v onedrive_doc:/documents \ + -e PUID=$(id -u) \ + -e PGID=$(id -g) \ + -d oznu/onedrive:latest diff --git a/docker/openvpn/readme.md b/docker/openvpn/readme.md new file mode 100644 index 0000000..d546503 --- /dev/null +++ b/docker/openvpn/readme.md @@ -0,0 +1,24 @@ +# OpenVPN +This is a dockerized version of a OpenVPN server. +The official container and documentation was made by [kylemanna](https://hub.docker.com/r/kylemanna/openvpn). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ------------------------ | +| ovpn | /etc/openvpn | storage for openvpn data | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ------------ | +| 1194 | 1194 | UDP | openvpn port | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| --------- | ---------------------- | +| --cap-add | add linux capabilities | diff --git a/docker/openvpn/rebuild.sh b/docker/openvpn/rebuild.sh new file mode 100755 index 0000000..b7475f2 --- /dev/null +++ b/docker/openvpn/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop openvpn +docker rm openvpn +docker pull kylemanna/openvpn +docker run --name openvpn \ + --restart unless-stopped \ + --cap-add=NET_ADMIN \ + -p 1194:1194/udp \ + -v ovpn:/etc/openvpn \ + -d kylemanna/openvpn diff --git a/docker/owncloud/docker-compose.yml b/docker/owncloud/docker-compose.yml new file mode 100644 index 0000000..489d3bd --- /dev/null +++ b/docker/owncloud/docker-compose.yml @@ -0,0 +1,28 @@ +version: '3.1' + +services: + + owncloud: + image: owncloud + restart: unless-stopped + ports: + - 80:80 + volumes: + - owncloud:/var/www/html + - config:/var/www/html/config + + mariadb: + image: mariadb + restart: unless-stopped + environment: + MYSQL_ROOT_PASSWORD: pass + volumes: + - mariadb:/var/lib/mysql + +volumes: + owncloud: + driver: local + mariadb: + driver: local + config: + driver: local diff --git a/docker/owncloud/readme.md b/docker/owncloud/readme.md new file mode 100644 index 0000000..8e3ae14 --- /dev/null +++ b/docker/owncloud/readme.md @@ -0,0 +1,38 @@ +# Owncloud +This is a dockerized version of an owncloud server. +The official container and documentation was made by [owncloud](https://hub.docker.com/_/owncloud). +This docker-rebuild is made up by a ```docker-compose.yml``` file. +The services in this files are explained seperately. + +## Owncloud + +### Volumes +Set the following volumes in the ```volumes:``` section of the docker-compose file. + +| Volume-Name | Container mount | Description | +| ---------------- | ---------------------- | ---------------------------- | +| owncloud | /var/www/html | storage for owncloud plugins | +| config | /var/www/html/config | storage for owncloud config | + +### Ports +Set the following ports in the ```ports:``` section. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 80 | 80 | TCP | WebUI | + +## Maria DB + +### Environment-variables +Set the following environment-variables in the ```environment:``` section of the docker-compose file. + +| Name | Usage | Default | +| ------------------- | ---------------------------- | ------- | +| MYSQL_ROOT_PASSWORD | set the mysql admin password | | + +### Volumes +Set the following volumes in the ```volumes:``` section of the docker-compose file. + +| Volume-Name | Container mount | Description | +| ---------------- | ---------------------- | ---------------------------- | +| mariadb | /var/lib/mysql | storage for owncloud data | diff --git a/docker/owncloud/rebuild.sh b/docker/owncloud/rebuild.sh new file mode 100755 index 0000000..08680ed --- /dev/null +++ b/docker/owncloud/rebuild.sh @@ -0,0 +1,5 @@ +#!/bin/sh +docker-compose down +docker pull owncloud +docker pull mariadb +docker-compose up -d diff --git a/docker/owncloudcli/readme.md b/docker/owncloudcli/readme.md new file mode 100644 index 0000000..7954896 --- /dev/null +++ b/docker/owncloudcli/readme.md @@ -0,0 +1,19 @@ +# DockerOwncloudClient +This is a dockerized version of a OwnCloud Client. +The original container and documentation are made by [tiynger](https://hub.docker.com/r/tiynger/owncloudclient) + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ----------- | --------------------------------------------------- | --------- | +| USER | username of OwnCloud server | admin | +| PASSWORD | password of OwnCloud server | admin | +| URL | url of OwnCloud server (dont forget the http(s)://) | localhost | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ----------- | --------------- | ----------------------------------- | +| data | /data | directory for the owncloud contents | diff --git a/docker/owncloudcli/rebuild.sh b/docker/owncloudcli/rebuild.sh new file mode 100755 index 0000000..a8c33a9 --- /dev/null +++ b/docker/owncloudcli/rebuild.sh @@ -0,0 +1,11 @@ +#!/bin/sh +docker stop owncloudcli +docker rm owncloudcli +docker pull tiynger/owncloudclient +docker run --name owncloudcli \ + --restart unless-stopped \ + -v owncloudcli:/data \ + -e USER='user' \ + -e PASSWORD='password' \ + -e URL='https://subdomain.domain.tld' \ + -d tiynger/owncloudclient diff --git a/docker/pinedocs/readme.md b/docker/pinedocs/readme.md new file mode 100644 index 0000000..41c7958 --- /dev/null +++ b/docker/pinedocs/readme.md @@ -0,0 +1,18 @@ +# Pinedocs +This is a dockerized version of a pinedocs site. +The official container and documentation was made by [xy2z](https://hub.docker.com/r/xy2z/pinedocs). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ----------------------- | +| pinedocs | /data | storage for pinedocs | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 80 | 80 | TCP | WebUI | + diff --git a/docker/pinedocs/rebuild.sh b/docker/pinedocs/rebuild.sh new file mode 100755 index 0000000..b237f2a --- /dev/null +++ b/docker/pinedocs/rebuild.sh @@ -0,0 +1,9 @@ +#!/bin/sh +docker stop pinedocs +docker rm pinedocs +docker pull xy2z/pinedocs +docker run --name pinedocs \ + --restart unless-stopped \ + -p 80:80 \ + -v pinedocs:/data \ + -d xy2z/pinedocs diff --git a/docker/pltu/readme.md b/docker/pltu/readme.md new file mode 100644 index 0000000..9b44cf1 --- /dev/null +++ b/docker/pltu/readme.md @@ -0,0 +1,24 @@ +# PLTU +This is a dockerized version of a plex vpn tunnel. +The official container and documentation was made by [nasourso](https://hub.docker.com/r/nasourso/pltu). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | --------------------------------------------------- | +| pltu | /cert | storage for openvpn certificate of server with plex | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 80 | 32400 | TCP | Plex webUI | + +## Additional +There are some special variables to set. + +| Flag | Usage | +| ------------ | ------------------------ | +| --privileged | is needed due to openvpn | diff --git a/docker/pltu/rebuild.sh b/docker/pltu/rebuild.sh new file mode 100755 index 0000000..a5a4f0b --- /dev/null +++ b/docker/pltu/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop pltu +docker rm pltu +docker pull nasourso/pltu:latest +docker run --name pltu \ + --restart unless-stopped \ + --privileged \ + -p 32400:80 \ + -v pltu:/cert/ \ + -d nasourso/pltu:latest diff --git a/docker/portainer-agent/readme.md b/docker/portainer-agent/readme.md new file mode 100644 index 0000000..eb17619 --- /dev/null +++ b/docker/portainer-agent/readme.md @@ -0,0 +1,19 @@ +# Portainer-agent +This is a dockerized portainer-agent. +The official container and documentation was made by [portainer](https://hub.docker.com/r/portainer/agent). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ----------------------- | ----------------------- | -------------------------------------- | +| /var/run/docker.sock | /var/run/docker.sock | connect your running docker containers | +| /var/lib/docker/volumes | /var/lib/docker/volumes | connect running docker volumes | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | -------------------- | +| 9001 | 9001 | TCP | Portainer agent port | + diff --git a/docker/portainer-agent/rebuild.sh b/docker/portainer-agent/rebuild.sh new file mode 100755 index 0000000..9ab700e --- /dev/null +++ b/docker/portainer-agent/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop portainer_agent +docker rm portainer_agent +docker pull portainer/agent:latest +docker run --name portainer_agent \ + -p 9001:9001 \ + --restart unless-stopped \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v /var/lib/docker/volumes:/var/lib/docker/volumes \ + -d portainer/agent:latest diff --git a/docker/portainer/readme.md b/docker/portainer/readme.md new file mode 100644 index 0000000..42220c4 --- /dev/null +++ b/docker/portainer/readme.md @@ -0,0 +1,18 @@ +# Portainer +This is a dockerized version of portainer. +The official container and documentation was made by [portainer](https://hub.docker.com/r/portainer/portainer). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| -------------------- | -------------------- | ------------------------------------------------- | +| portainer | /data | configuration directory | +| /var/run/docker.sock | /var/run/docker.sock | connection to local docker containers and volumes | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 9000 | 9000 | TCP | WebUI | diff --git a/docker/portainer/rebuild.sh b/docker/portainer/rebuild.sh new file mode 100755 index 0000000..6d062b5 --- /dev/null +++ b/docker/portainer/rebuild.sh @@ -0,0 +1,10 @@ +#!/bin/sh +docker stop portainer +docker rm portainer +docker pull portainer/portainer:latest +docker run --name portainer \ + --restart unless-stopped \ + -p 9000:9000 \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v portainer:/data \ + -d portainer/portainer diff --git a/docker/python-flask/readme.md b/docker/python-flask/readme.md new file mode 100644 index 0000000..fc22201 --- /dev/null +++ b/docker/python-flask/readme.md @@ -0,0 +1,17 @@ +# DockerPythonFlask +This is a dockerized version of a Python3 Flask Server. +The original container and documentation are made by [tiynger](https://hub.docker.com/r/tiynger/pythonflask). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ----------- | --------------- | ------------------------------- | +| app | /flask | directory for flask application | + +## Ports +Set the following volumes with the -p tag. + +| Container-Port | Recommed outside port | Protocol | Description | +| -------------- | --------------------- | -------- | ----------- | +| 5000 | 80 | TCP | HTTP port | diff --git a/docker/python-flask/rebuild.sh b/docker/python-flask/rebuild.sh new file mode 100755 index 0000000..fc92604 --- /dev/null +++ b/docker/python-flask/rebuild.sh @@ -0,0 +1,9 @@ +#!/bin/sh +docker stop python-flask +docker rm python-flask +docker pull tiynger/pythonflask:latest +docker run --name python-flask \ + --restart unless-stopped \ + -p "5000:5000" \ + -v python-flask:/flask \ + -d tiynger/pythonflask:latest diff --git a/docker/samba/readme.md b/docker/samba/readme.md new file mode 100644 index 0000000..61baa95 --- /dev/null +++ b/docker/samba/readme.md @@ -0,0 +1,33 @@ +# Samba +This is a dockerized version of a samba server. +The official container and documentation was made by [dperson](https://hub.docker.com/r/samba). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ------------------------------ | +| samba_nas | /nas | storage for samba data | +| samba_lib | /var/lib/samba | storage for samba lib | +| samba_cache | /var/cache/samba | storage for samba cache | +| samba_run | /run/samba | run entries for samba | +| samba_etc | /etc | etc directory of samba server | +| samba_log | /var/log/samba | storage for samba logs | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | -------------- | +| 139 | 139 | TCP | Samba internal | +| 445 | 445 | TCP | Samba internal | + +##Additional +There are some special variables to set. + +| Flag | Usage | +| --------------------------------------------------------------------- | ---------------- | +| -u (;ID;group;GID) | define user | +| -w | define workgroup | +| -s (;browse;readonly;guest;users;admins;writelist;comment) | define shares | + diff --git a/docker/samba/rebuild.sh b/docker/samba/rebuild.sh new file mode 100755 index 0000000..659f0fb --- /dev/null +++ b/docker/samba/rebuild.sh @@ -0,0 +1,20 @@ +#!/bin/sh +docker stop samba +docker rm samba +docker pull dperson/samba +docker run --name samba \ + --restart unless-stopped \ + -p 139:139 \ + -p 445:445 \ + -v samba_nas:/nas \ + -v samba_lib:/var/lib/samba \ + -v samba_cache:/var/cache/samba \ + -v samba_run:/run/samba \ + -v samba_etc:/etc \ + -v samba_log:/var/log/samba \ + -d dperson/samba -p \ + -u "user1;pass1" \ + -u "user2;pass2" \ + -s "public;/nas/public" \ + -s "user1private;/nas/user1;no;no;no;user1;user1" \ + -s "user2private;/nas/user2;no;no;no;user2;user2" diff --git a/docker/syncthing/readme.md b/docker/syncthing/readme.md new file mode 100644 index 0000000..47c000b --- /dev/null +++ b/docker/syncthing/readme.md @@ -0,0 +1,30 @@ +# Syncthing +This is a dockerized version of a syncthing server. +The official container and documentation was made by [linuxserver](https://hub.docker.com/r/linuxserver/syncthing). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| --------- | ---------------- | ------- | +| PUID | UserID | | +| PGID | GroupID | | +| TZ | Timezone | | +| UMASK_SET | setting usermask | | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | ----------------------------------------------- | +| syncthing_config | /config | storage for config and possible downloaded data | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ------------------ | +| 8384 | 8384 | TCP | WebUI | +| 22000 | 22000 | TCP | Syncthing internal | +| 21027 | 21027 | UDP | Syncthing internal | + diff --git a/docker/syncthing/rebuild.sh b/docker/syncthing/rebuild.sh new file mode 100755 index 0000000..fe26e93 --- /dev/null +++ b/docker/syncthing/rebuild.sh @@ -0,0 +1,15 @@ +#!/bin/sh +docker stop syncthing +docker rm syncthing +docker pull linuxserver/syncthing +docker run --name syncthing \ + --restart unless-stopped \ + -p 8384:8384 \ + -p 22000:22000 \ + -p 21027:21027/udp \ + -v syncthing_config:/config \ + -e PUID=0 \ + -e PGID=0 \ + -e TZ=Europe/Berlin \ + -e UMASK_SET=022 \ + -d linuxserver/syncthing diff --git a/docker/teamspeak/readme.md b/docker/teamspeak/readme.md new file mode 100644 index 0000000..de56ede --- /dev/null +++ b/docker/teamspeak/readme.md @@ -0,0 +1,27 @@ +# Teamspeak3 +This is a dockerized version of a teamspeak3 server. +The official container and documentation was made by [teamspeak](https://hub.docker.com/_/teamspeak). + +## Environment-variables +Set the following variables with the -e tag. + +| Name | Usage | Default | +| ----------------- | ---------------------------- | ------- | +| TS3SERVER_LICENSE | accept the license agreement | | + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | --------------- | --------------------------- | +| teamspeak3 | /var/ts3server | storage for ts3-server data | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 9987 | 9987 | UDP | ts3-intern | +| 10011 | 10011 | TCP | ts3-intern | +| 30033 | 30033 | TCP | ts3-intern | + diff --git a/docker/teamspeak/rebuild.sh b/docker/teamspeak/rebuild.sh new file mode 100755 index 0000000..67ae743 --- /dev/null +++ b/docker/teamspeak/rebuild.sh @@ -0,0 +1,12 @@ +#!/bin/sh +docker stop teamspeak3 +docker rm teamspeak3 +docker pull teamspeak:latest +docker run --name teamspeak3 \ + --restart unless-stopped \ + -p 9987:9987/udp \ + -p 10011:10011 \ + -p 30033:30033 \ + -v teamspeak3:/var/ts3server \ + -e TS3SERVER_LICENSE=accept \ + -d teamspeak:latest diff --git a/docker/todo/readme.md b/docker/todo/readme.md new file mode 100644 index 0000000..93a2ef5 --- /dev/null +++ b/docker/todo/readme.md @@ -0,0 +1,18 @@ +# Todo +This is a dockerized todo-list webui. +The official container and documentation was made by [prologic](https://hub.docker.com/r/pologic/todo). + +## Volumes +Set the following volumes with the -v tag. + +| Volume-Name | Container mount | Description | +| ---------------- | -------------------- | ----------------------- | +| todo | /go/src/todo/todo.db | Database for todo list | + +## Ports +Set the following ports with the -p tag. + +| Container Port | Recommended outside port | Protocol | Description | +| -------------- | ------------------------ | -------- | ----------- | +| 8000 | 8000 | TCP | WebUI | + diff --git a/docker/todo/rebuild.sh b/docker/todo/rebuild.sh new file mode 100755 index 0000000..a162a1d --- /dev/null +++ b/docker/todo/rebuild.sh @@ -0,0 +1,9 @@ +#!/bin/sh +docker stop todo +docker rm todo +docker pull prologic/todo +docker run --name todo \ + -p 8000:8000 \ + --restart unless-stopped \ + -v todo:/go/src/todo/todo.db \ + -d prologic/todo