consolidation of old templates
This commit is contained in:
78
docker-compose/applications/nextcloud-npm.yaml
Normal file
78
docker-compose/applications/nextcloud-npm.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
---
|
||||
version: '3'
|
||||
|
||||
volumes:
|
||||
nextcloud-data:
|
||||
nextcloud-db:
|
||||
npm-data:
|
||||
npm-ssl:
|
||||
npm-db:
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
# add this if the network is already existing!
|
||||
# external: true
|
||||
backend:
|
||||
|
||||
services:
|
||||
|
||||
nextcloud-app:
|
||||
image: nextcloud
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud-data:/var/www/html
|
||||
environment:
|
||||
- MYSQL_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=nextcloud-db
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
nextcloud-db:
|
||||
image: mariadb
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
volumes:
|
||||
- nextcloud-db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
networks:
|
||||
- backend
|
||||
|
||||
npm-app:
|
||||
image: jc21/nginx-proxy-manager:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "81:81"
|
||||
- "443:443"
|
||||
environment:
|
||||
- DB_MYSQL_HOST=npm-db
|
||||
- DB_MYSQL_PORT=3306
|
||||
- DB_MYSQL_USER=npm
|
||||
- DB_MYSQL_PASSWORD=replace-with-secure-password
|
||||
- DB_MYSQL_NAME=npm
|
||||
volumes:
|
||||
- npm-data:/data
|
||||
- npm-ssl:/etc/letsencrypt
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
npm-db:
|
||||
image: jc21/mariadb-aria:latest
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_DATABASE=npm
|
||||
- MYSQL_USER=npm
|
||||
- MYSQL_PASSWORD=replace-with-secure-password
|
||||
volumes:
|
||||
- npm-db:/var/lib/mysql
|
||||
networks:
|
||||
- backend
|
||||
42
docker-compose/applications/nextcloud.yaml
Normal file
42
docker-compose/applications/nextcloud.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
version: '3'
|
||||
|
||||
volumes:
|
||||
nextcloud-data:
|
||||
nextcloud-db:
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
# add this if the network is already existing!
|
||||
# external: true
|
||||
backend:
|
||||
|
||||
services:
|
||||
|
||||
nextcloud-app:
|
||||
image: nextcloud
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud-data:/var/www/html
|
||||
environment:
|
||||
- MYSQL_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=nextcloud-db
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
nextcloud-db:
|
||||
image: mariadb
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
volumes:
|
||||
- nextcloud-db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_PASSWORD=replace-with-secure-password
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
networks:
|
||||
- backend
|
||||
21
docker-compose/applications/pihole.yaml
Normal file
21
docker-compose/applications/pihole.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
version: '3'
|
||||
|
||||
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: 'America/Chicago'
|
||||
WEBPASSWORD: 'testtest'
|
||||
volumes:
|
||||
- etcd:/etc/pihole
|
||||
- dnsmasq:/etc/dnsmasq.d
|
||||
restart: unless-stopped
|
||||
19
docker-compose/management/duplicati.yaml
Normal file
19
docker-compose/management/duplicati.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
|
||||
duplicati:
|
||||
image: ghcr.io/linuxserver/duplicati
|
||||
container_name: duplicati
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- /AmberPRO/duplicati/config:/config
|
||||
- /Backups:/backups
|
||||
- /:/source
|
||||
ports:
|
||||
- 8200:8200
|
||||
restart: unless-stopped
|
||||
12
docker-compose/management/portainer.yaml
Normal file
12
docker-compose/management/portainer.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'portainer/portainer-ce:latest'
|
||||
ports:
|
||||
- '9000:9000'
|
||||
- '8000:8000'
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /AmberPro/portainer/data:/data
|
||||
30
docker-compose/management/teleport.yaml
Normal file
30
docker-compose/management/teleport.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
configure:
|
||||
image: quay.io/gravitational/teleport:4.3
|
||||
container_name: teleport-configure
|
||||
entrypoint: /bin/sh
|
||||
hostname: dev.the-digital-life.com
|
||||
command: -c "if [ ! -f /etc/teleport/teleport.yaml ]; then teleport configure > /etc/teleport/teleport.yaml; fi"
|
||||
volumes:
|
||||
- ./teleport/config:/etc/teleport
|
||||
|
||||
teleport:
|
||||
image: quay.io/gravitational/teleport:4.3
|
||||
container_name: teleport
|
||||
entrypoint: /bin/sh
|
||||
hostname: dev.the-digital-life.com
|
||||
command: -c "sleep 1 && /bin/dumb-init teleport start -c /etc/teleport/teleport.yaml"
|
||||
ports:
|
||||
- "3023:3023"
|
||||
- "3024:3024"
|
||||
- "3025:3025"
|
||||
- "3080:3080"
|
||||
volumes:
|
||||
- ./teleport/config:/etc/teleport
|
||||
- ./teleport/data:/var/lib/teleport
|
||||
depends_on:
|
||||
- configure
|
||||
23
docker-compose/mediaserver/jellyfin.yaml
Normal file
23
docker-compose/mediaserver/jellyfin.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
|
||||
jellyfin:
|
||||
image: ghcr.io/linuxserver/jellyfin
|
||||
container_name: jellyfin
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Berlin
|
||||
- JELLYFIN_PublishedServerUrl=192.168.0.32 #optional
|
||||
volumes:
|
||||
- /AmberPRO/jellyfin/config:/config
|
||||
- /AmberPRO/jellyfin/tvshows:/data/tvshows
|
||||
- /AmberPRO/jellyfin/movies:/data/movies
|
||||
ports:
|
||||
- 8096:8096
|
||||
- 8920:8920 #optional
|
||||
- 7359:7359/udp #optional
|
||||
- 1900:1900/udp #optional
|
||||
restart: unless-stopped
|
||||
29
docker-compose/mediaserver/plex.yaml
Normal file
29
docker-compose/mediaserver/plex.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
linuxserver-plex:
|
||||
container_name: linuxserver-plex
|
||||
restart: unless-stopped
|
||||
image: linuxserver/plex:latest
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- VERSION=docker
|
||||
ports:
|
||||
- "32400:32400" #(for access to the Plex Media Server) [required]
|
||||
- "32400:32400/udp"
|
||||
- "32410:32410/udp" #(for current GDM network discovery)
|
||||
- "32412:32412/udp"
|
||||
- "32413:32413/udp"
|
||||
- "32414:32414/udp"
|
||||
- "32469:32469" #(for access to the Plex DLNA Server)
|
||||
- "32469:32469/udp"
|
||||
- "5353:5353" # (for older Bonjour/Avahi network discovery)
|
||||
#- "1900:1900/udp" #(for access to the Plex DLNA Server)
|
||||
|
||||
volumes:
|
||||
- /AmberPRO/plex/config:/config
|
||||
- /AmberPRO/plex/media1:/data/movies
|
||||
- /AmberPRO/plex/transcode:/transcode
|
||||
40
docker-compose/webserver/swag-mysql.yaml
Normal file
40
docker-compose/webserver/swag-mysql.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
mariadb:
|
||||
image: linuxserver/mariadb
|
||||
container_name: mariadb
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- MYSQL_ROOT_PASSWORD=mariadbpassword
|
||||
- TZ=Europe/Berlin
|
||||
- MYSQL_DATABASE=WP_database
|
||||
- MYSQL_USER=WP_dbuser
|
||||
- MYSQL_PASSWORD=WP_dbpassword
|
||||
volumes:
|
||||
- /opt/webserver_swag/config/mariadb:/config
|
||||
restart: unless-stopped
|
||||
|
||||
swag:
|
||||
image: linuxserver/swag
|
||||
container_name: swag
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- TZ=Europe/Berlin
|
||||
- URL=do-test-1.the-digital-life.com
|
||||
- SUBDOMAINS=
|
||||
- VALIDATION=http
|
||||
volumes:
|
||||
- /opt/webserver_swag/config:/config
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80 #optional
|
||||
depends_on:
|
||||
- mariadb
|
||||
restart: unless-stopped
|
||||
23
docker-compose/webserver/swag.yaml
Normal file
23
docker-compose/webserver/swag.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
swag:
|
||||
image: linuxserver/swag
|
||||
container_name: swag
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- TZ=Europe/Berlin
|
||||
- URL=do-test-1.the-digital-life.com
|
||||
- SUBDOMAINS=www
|
||||
- VALIDATION=http
|
||||
volumes:
|
||||
- /opt/webserver_swag/config:/config
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80 #optional
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user