Dateien aus den Blog-Posts eingebaut.
This commit is contained in:
13
gitea/docker-compose.yml
Normal file
13
gitea/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: gitea
|
||||||
|
image: kunde21/gitea-arm:latest
|
||||||
|
ports:
|
||||||
|
- "3000:3000/tcp"
|
||||||
|
- "23:22/tcp"
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- '/opt/gitea:/data'
|
||||||
|
restart: unless-stopped
|
14
mariadb/docker-compose.yml
Normal file
14
mariadb/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
version: '3.1'
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
image: linuxserver/mariadb:latest
|
||||||
|
container_name: "mariadb"
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_PASSWORD: "<passwort>"
|
||||||
|
MYSQL_ROOT_PASSWORD: "<passwort>"
|
||||||
|
TZ: "Europe/Berlin"
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- /opt/mariadb:/config
|
4
nginx/createdb.sql
Normal file
4
nginx/createdb.sql
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
create user npm identified by '<passwort>';
|
||||||
|
create database npm;
|
||||||
|
grant all privileges on npm.* to npm;
|
||||||
|
flush privileges;
|
21
nginx/docker-compose.yml
Normal file
21
nginx/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: 'jc21/nginx-proxy-manager:latest'
|
||||||
|
container_name: nginx
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- '84:80'
|
||||||
|
- '81:81'
|
||||||
|
- '443:443'
|
||||||
|
environment:
|
||||||
|
TZ: 'Europe/Berlin'
|
||||||
|
DB_MYSQL_HOST: "database"
|
||||||
|
DB_MYSQL_PORT: "3306"
|
||||||
|
DB_MYSQL_USER: "npm"
|
||||||
|
DB_MYSQL_PASSWORD: "<passwort>"
|
||||||
|
DB_MYSQL_NAME: "npm"
|
||||||
|
volumes:
|
||||||
|
- /opt/nginx:/data
|
||||||
|
# - /opt/nginx-etc:/etc
|
||||||
|
- /opt/letsencrypt:/etc/letsencrypt
|
24
pi-hole/docker-compose.yml
Normal file
24
pi-hole/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
- "67:67/udp"
|
||||||
|
- "80:80/tcp"
|
||||||
|
- "443:443/tcp"
|
||||||
|
environment:
|
||||||
|
TZ: 'Europe/Berlin'
|
||||||
|
WEBPASSWORD: '<passwort>'
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- '/opt/pihole/etc-pihole/:/etc/pihole/'
|
||||||
|
- '/opt/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
||||||
|
# Recommended but not required (DHCP needs NET_ADMIN)
|
||||||
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
restart: unless-stopped
|
||||||
|
|
Reference in New Issue
Block a user