@ -1,8 +1,3 @@ |
|||
# Wiki |
|||
|
|||
This is a repository for guides and tips for using various software, operating system and tech related stuff. |
|||
|
|||
| File/Folder | Description | |
|||
| --------------- | ---------------------------------------------------------------- | |
|||
| arch-linux | guides on setup and recommended software for arch linux | |
|||
| docker | various setup and rebuild scripts and guides for used containers | |
|||
This is a wiki for guides and tips for using various software, operating system and tech related stuff. |
|||
@ -0,0 +1,60 @@ |
|||
# Airsonic |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,17 +1,35 @@ |
|||
# DockerPythonFlask |
|||
This is a dockerized version of a Python3 Flask Server. |
|||
# Flask |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
The original container and documentation are made by [tiynger](https://hub.docker.com/r/tiynger/pythonflask). |
|||
|
|||
## Volumes |
|||
#### Volumes |
|||
Set the following volumes with the -v tag. |
|||
|
|||
| Volume-Name | Container mount | Description | |
|||
| ----------- | --------------- | ------------------------------- | |
|||
| app | /flask | directory for flask application | |
|||
|
|||
## Ports |
|||
#### Ports |
|||
Set the following volumes with the -p tag. |
|||
|
|||
| Container-Port | Recommed outside port | Protocol | Description | |
|||
| -------------- | --------------------- | -------- | ----------- | |
|||
| 5000 | 80 | TCP | HTTP port | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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,178 @@ |
|||
# Git |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
#### Bare (No webinterface) |
|||
|
|||
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 | |
|||
|
|||
##### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
|
|||
#### Gitea (Webinterface) |
|||
|
|||
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 | |
|||
|
|||
##### Rebuild |
|||
|
|||
``` |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker-compose up -d |
|||
``` |
|||
|
|||
##### Docker-Compose.yml |
|||
|
|||
``` |
|||
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,77 @@ |
|||
# Gopherproxy |
|||
|
|||
## Setup Proxy |
|||
|
|||
### Docker |
|||
|
|||
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) | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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' |
|||
``` |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,24 +1,43 @@ |
|||
# Hastebin |
|||
This is a dockerized version of a hastebin server. |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
The official container and documentation was made by [rlister](https://hub.docker.com/r/rlister/hastebin). |
|||
|
|||
## Environment-variables |
|||
#### Environment-variables |
|||
Set the following variables with the -e tag. |
|||
|
|||
| Name | Usage | Default | |
|||
| ------------ | ----------------------- | ------- | |
|||
| STORAGE_TYPE | Type to store the datas | file | |
|||
|
|||
## Volumes |
|||
#### Volumes |
|||
Set the following volumes with the -v tag. |
|||
|
|||
| Volume-Name | Container mount | Description | |
|||
| ---------------- | --------------- | -------------------------- | |
|||
| hastebin | /app/data | storage directory for data | |
|||
|
|||
## Ports |
|||
#### Ports |
|||
Set the following ports with the -p tag. |
|||
|
|||
| Container Port | Recommended outside port | Protocol | Description | |
|||
| -------------- | ------------------------ | -------- | ----------- | |
|||
| 7777 | 7777 | TCP | WebUI | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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,70 @@ |
|||
# Homer |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
|
|||
#### Configuration |
|||
|
|||
This is a sample config.yml: |
|||
|
|||
``` |
|||
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,79 @@ |
|||
# Jellyfin |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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. |
|||
|
|||
#### 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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull linuxserver/jellyfin:latest |
|||
docker-compose up -d |
|||
``` |
|||
|
|||
#### Docker-Compose.yml |
|||
|
|||
``` |
|||
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 |
|||
``` |
|||
@ -1,12 +1,16 @@ |
|||
# Calendar |
|||
# Khal |
|||
|
|||
`khal` is a calendar you can use in your terminal. |
|||
To sync calendars you'll need `vdirsyncer` aswell. |
|||
|
|||
## Installation and configuration |
|||
## Setup |
|||
|
|||
### Arch-Linux |
|||
|
|||
- `pacman -S khal vdirsyncer` - Install needed packages |
|||
|
|||
### Configuration |
|||
|
|||
- To configure vdirsyncer edit a file in `~/.config/vdirsyncer/config`. |
|||
|
|||
``` |
|||
@ -0,0 +1,39 @@ |
|||
# Onedrive |
|||
|
|||
## Setup Mirror |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,24 +1,43 @@ |
|||
# OpenVPN |
|||
This is a dockerized version of a OpenVPN server. |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
The official container and documentation was made by [kylemanna](https://hub.docker.com/r/kylemanna/openvpn). |
|||
|
|||
## Volumes |
|||
#### Volumes |
|||
Set the following volumes with the -v tag. |
|||
|
|||
| Volume-Name | Container mount | Description | |
|||
| ---------------- | --------------- | ------------------------ | |
|||
| ovpn | /etc/openvpn | storage for openvpn data | |
|||
|
|||
## Ports |
|||
#### Ports |
|||
Set the following ports with the -p tag. |
|||
|
|||
| Container Port | Recommended outside port | Protocol | Description | |
|||
| -------------- | ------------------------ | -------- | ------------ | |
|||
| 1194 | 1194 | UDP | openvpn port | |
|||
|
|||
## Additional |
|||
#### Additional |
|||
There are some special variables to set. |
|||
|
|||
| Flag | Usage | |
|||
| --------- | ---------------------- | |
|||
| --cap-add | add linux capabilities | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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,123 @@ |
|||
# Owncloud |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull owncloud |
|||
docker pull mariadb |
|||
docker-compose up -d |
|||
``` |
|||
|
|||
#### Docker-Compose.yml |
|||
|
|||
``` |
|||
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 |
|||
``` |
|||
|
|||
## Setup Client |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,18 +1,35 @@ |
|||
# Pinedocs |
|||
This is a dockerized version of a pinedocs site. |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
The official container and documentation was made by [xy2z](https://hub.docker.com/r/xy2z/pinedocs). |
|||
|
|||
## Volumes |
|||
#### Volumes |
|||
Set the following volumes with the -v tag. |
|||
|
|||
| Volume-Name | Container mount | Description | |
|||
| ---------------- | --------------- | ----------------------- | |
|||
| pinedocs | /data | storage for pinedocs | |
|||
|
|||
## Ports |
|||
#### Ports |
|||
Set the following ports with the -p tag. |
|||
|
|||
| Container Port | Recommended outside port | Protocol | Description | |
|||
| -------------- | ------------------------ | -------- | ----------- | |
|||
| 80 | 80 | TCP | WebUI | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,24 +1,43 @@ |
|||
# PLTU |
|||
This is a dockerized version of a plex vpn tunnel. |
|||
# Plex |
|||
|
|||
## Setup Tunnel |
|||
|
|||
### Docker |
|||
|
|||
The official container and documentation was made by [nasourso](https://hub.docker.com/r/nasourso/pltu). |
|||
|
|||
## Volumes |
|||
#### 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 |
|||
#### Ports |
|||
Set the following ports with the -p tag. |
|||
|
|||
| Container Port | Recommended outside port | Protocol | Description | |
|||
| -------------- | ------------------------ | -------- | ----------- | |
|||
| 80 | 32400 | TCP | Plex webUI | |
|||
|
|||
## Additional |
|||
#### Additional |
|||
There are some special variables to set. |
|||
|
|||
| Flag | Usage | |
|||
| ------------ | ------------------------ | |
|||
| --privileged | is needed due to openvpn | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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,74 @@ |
|||
# Portainer |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
|
|||
## Setup Agent |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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,61 @@ |
|||
# Samba |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
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 | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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" |
|||
``` |
|||
@ -1,8 +1,10 @@ |
|||
# Tablecalculation |
|||
# SC-IM |
|||
|
|||
`sc-im` is a program to view and edit tables especially in csv-format. |
|||
|
|||
## Installation |
|||
## Setup |
|||
|
|||
### Arch-Linux |
|||
|
|||
- `yay -S sc-im` - Install sc-im |
|||
- `sc-im <insert-filename>.csv` - Edit files |
|||
@ -1,12 +1,14 @@ |
|||
# Shell |
|||
# Shells |
|||
|
|||
## Change /bin/sh |
|||
|
|||
### Arch-Linux |
|||
|
|||
The Shell in Arch-Linux is made up by a POSIX compliant mode of bash. |
|||
Problem with that is the speed. |
|||
A shell like dash would be much faster. |
|||
This is a guide on how to persistently change the symlink /bin/sh from bash to dash. |
|||
|
|||
## Setup |
|||
|
|||
- `yay -S dash` - Install dash |
|||
- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash |
|||
- `sudo vim /usr/share/libalpm/hooks/bash-update.hook` - setup a hook to avoid bash resetting the symlink |
|||
@ -1,18 +1,37 @@ |
|||
# Todo |
|||
This is a dockerized todo-list webui. |
|||
The official container and documentation was made by [prologic](https://hub.docker.com/r/pologic/todo). |
|||
# Todo-List |
|||
|
|||
## Setup Server |
|||
|
|||
### Docker |
|||
|
|||
The official container and documentation was made by [prologic](https://hub.docker.com/r/prologic/todo). |
|||
|
|||
#### Volumes |
|||
|
|||
## 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 |
|||
#### Ports |
|||
|
|||
Set the following ports with the -p tag. |
|||
|
|||
| Container Port | Recommended outside port | Protocol | Description | |
|||
| -------------- | ------------------------ | -------- | ----------- | |
|||
| 8000 | 8000 | TCP | WebUI | |
|||
|
|||
#### Rebuild |
|||
|
|||
``` |
|||
#!/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 |
|||
``` |
|||
@ -1,10 +0,0 @@ |
|||
# Arch Linux |
|||
These markdown entries are some guides i am using personally for installing the base system. |
|||
There are some additional software recommendations aswell. |
|||
Due to my personal preference most of them are commandline applications. |
|||
|
|||
| File/Folder | Description | |
|||
| --------------- | ------------------------------------------------------- | |
|||
| applications | Various software recommendations and setups | |
|||
| devices | Arch Linux setup for special devices | |
|||
| installation.md | This is a guide on my go to installation for Arch Linux | |
|||
@ -1,12 +0,0 @@ |
|||
# Applications |
|||
|
|||
These are guides on how to set up and configure special programs for Arch Linux, but could be translatable to other ones aswell. |
|||
|
|||
| File/Folder | Description | |
|||
| ------------------- | ------------------------------------------------------------------------------------- | |
|||
| calendar.md | My favourite calendar program setup and configuration | |
|||
| contacts.md | My favourite contacts program setup and configuration | |
|||
| mail.md | My favourite mail program setup and configuration | |
|||
| shell.md | /bin/sh is bloated with bash, use dash instead | |
|||
| tablecalculation.md | My favourite tablecalculation program setup and configuration | |
|||
| wine.md | My favourite way to run windows programs and games with basic setup and configuration | |
|||
@ -1,7 +0,0 @@ |
|||
# Devices |
|||
|
|||
These devices i did an Arch Linux setup and configuration on and had some extra things to get everything working. |
|||
|
|||
| File/Folder | Description | |
|||
| ---------------- | -------------------------------------------------------------------------- | |
|||
| thinkpad_x220.md | Special installation and configuration additions to a Lenovo Thinkpad X220 | |
|||
@ -1,38 +0,0 @@ |
|||
# Docker |
|||
Here 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). |
|||
|
|||
| File/Folder | Description | |
|||
| ----------------- | ----------------------------------------------- | |
|||
| airsonic | music streaming service | |
|||
| bind | dns service | |
|||
| cups | print service | |
|||
| docker-mailserver | mail service | |
|||
| docker-radicale | caldav service | |
|||
| folding-at-home | give your cpu power to fight disease | |
|||
| gitea | github-like git service | |
|||
| git-server-docker | git-server without gui | |
|||
| gopherproxy | show a given gopherhole over http | |
|||
| gopherserver | service to run a gopherhole | |
|||
| hastebin | pastebin alternative | |
|||
| homer | static website | |
|||
| jellyfin | video streaming service | |
|||
| mordhau-server | server for steamgame mordhau | |
|||
| nginx | reverse proxy for http(s) | |
|||
| onedrive | onedrive client | |
|||
| openvpn | vpn service | |
|||
| owncloud | server app for owncloud | |
|||
| owncloudclient | client app for owncloud | |
|||
| pinedocs | view files, good for documentation or wiki | |
|||
| pltu | vpn tunnel to a plex service | |
|||
| portainer | docker monitoring web-gui | |
|||
| portainer-agent | docker agent to connect to existing portainer | |
|||
| python-flask | python flask webdev framework | |
|||
| samba | shared network storage | |
|||
| syncthing | decentralized synchronization tool | |
|||
| teamspeak | teamspeak3 server | |
|||
| todo | simple todo webgui | |
|||
|
|||
## 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. |
|||
@ -1,32 +0,0 @@ |
|||
# 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 | |
|||
|
|||
@ -1,17 +0,0 @@ |
|||
#!/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 |
|||
@ -1,12 +0,0 @@ |
|||
#!/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 |
|||
@ -1,11 +0,0 @@ |
|||
#!/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 |
|||
@ -1,4 +0,0 @@ |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull tvial/docker-mailserver:latest |
|||
docker-compose up -d |
|||
@ -1,43 +0,0 @@ |
|||
# 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 | |
|||
|
|||
## Setup |
|||
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. |
|||
|
|||
Following this you need to make sure there is a password file in the docker volume `radicale_data` called `users`. |
|||
The password will be encrypted using `bcrypt`. |
|||
Steps to create a file with a user and password: |
|||
- You will have to install the package which includes `htpasswd`; for debian based distributions this is `apt install apache2-utils` |
|||
- `cd /var/lib/docker/volumes/radicale\_data/\_data` - go to the volume |
|||
- `touch ./users` - create a file called users |
|||
- `htpasswd -B ./users username` - add user with name and password to the file (change `username` to your desired username) |
|||
|
|||
Now you can go to the exposed port and login with your chosen username and password. |
|||
If you only added one user you shouldn't be able to login with any other data than your username and password. |
|||
@ -1,11 +0,0 @@ |
|||
#/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 |
|||
@ -1,12 +0,0 @@ |
|||
#!/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 |
|||
@ -1,19 +0,0 @@ |
|||
# 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 | |
|||
|
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,78 +0,0 @@ |
|||
# 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 | |
|||
@ -1,47 +0,0 @@ |
|||
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 |
|||
@ -1,3 +0,0 @@ |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker-compose up -d |
|||
@ -1,17 +0,0 @@ |
|||
# 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) | |
|||
@ -1,9 +0,0 @@ |
|||
#!/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' |
|||
@ -1,24 +0,0 @@ |
|||
# 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 | |
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,26 +0,0 @@ |
|||
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' |
|||
@ -1,18 +0,0 @@ |
|||
# 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 | |
|||
@ -1,11 +0,0 @@ |
|||
#!/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 |
|||
|
|||
@ -1,36 +0,0 @@ |
|||
# 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 | |
|||
@ -1,27 +0,0 @@ |
|||
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 |
|||
@ -1,4 +0,0 @@ |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull linuxserver/jellyfin:latest |
|||
docker-compose up -d |
|||
@ -1,23 +0,0 @@ |
|||
#!/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 |
|||
@ -1,4 +0,0 @@ |
|||
#/bin/sh |
|||
|
|||
docker stop mordhau |
|||
docker rm mordhau |
|||
@ -1,5 +0,0 @@ |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull nginx:latest |
|||
docker pull certbot/certbot:latest |
|||
docker-compose up -d |
|||
@ -1,19 +0,0 @@ |
|||
# 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 | |
|||
@ -1,11 +0,0 @@ |
|||
#!/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 |
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,38 +0,0 @@ |
|||
# 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 | |
|||
@ -1,28 +0,0 @@ |
|||
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 |
|||
@ -1,5 +0,0 @@ |
|||
#!/bin/sh |
|||
docker-compose down |
|||
docker pull owncloud |
|||
docker pull mariadb |
|||
docker-compose up -d |
|||
@ -1,19 +0,0 @@ |
|||
# 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 | |
|||
@ -1,11 +0,0 @@ |
|||
#!/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 |
|||
@ -1,9 +0,0 @@ |
|||
#!/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 |
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,19 +0,0 @@ |
|||
# 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 | |
|||
|
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,18 +0,0 @@ |
|||
# 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 | |
|||
@ -1,10 +0,0 @@ |
|||
#!/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 |
|||
@ -1,9 +0,0 @@ |
|||
#!/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 |
|||
@ -1,33 +0,0 @@ |
|||
# 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 | |
|||
|
|||
@ -1,20 +0,0 @@ |
|||
#!/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" |
|||
@ -1,15 +0,0 @@ |
|||
#!/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 |
|||
@ -1,12 +0,0 @@ |
|||
#!/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 |
|||
@ -1,9 +0,0 @@ |
|||
#!/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 |
|||