restructuring to wiki-repo

master
TiynGER 5 years ago
parent 7964ab15b4
commit f189138649

@ -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.

@ -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 |

@ -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

@ -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 |

@ -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

@ -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```.

@ -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

@ -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 <user@domain> (<password>)```
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.

@ -0,0 +1,4 @@
#!/bin/sh
docker-compose down
docker pull tvial/docker-mailserver:latest
docker-compose up -d

@ -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 |

@ -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

@ -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```.

@ -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

@ -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 |

@ -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

@ -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

@ -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 |

@ -0,0 +1,3 @@
#!/bin/sh
docker-compose down
docker-compose up -d

@ -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) |

@ -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'

@ -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 |

@ -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

@ -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 |

@ -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

@ -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'

@ -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 |

@ -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

@ -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

@ -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 |

@ -0,0 +1,4 @@
#!/bin/sh
docker-compose down
docker pull linuxserver/jellyfin:latest
docker-compose up -d

@ -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 |

@ -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

@ -0,0 +1,4 @@
#/bin/sh
docker stop mordhau
docker rm mordhau

@ -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.

@ -0,0 +1,5 @@
#!/bin/sh
docker-compose down
docker pull nginx:latest
docker pull certbot/certbot:latest
docker-compose up -d

@ -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 |

@ -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

@ -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 |

@ -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

@ -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

@ -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 |

@ -0,0 +1,5 @@
#!/bin/sh
docker-compose down
docker pull owncloud
docker pull mariadb
docker-compose up -d

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 <username;password>(;ID;group;GID) | define user |
| -w <workgroup> | define workgroup |
| -s <name;path>(;browse;readonly;guest;users;admins;writelist;comment) | define shares |

@ -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"

@ -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 |

@ -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

@ -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 |

@ -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

@ -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 |

@ -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
Loading…
Cancel
Save