sync of changes up to 2024-01-04

This commit is contained in:
Steve Dudenhoeffer 2024-01-04 21:42:14 +00:00
parent e395b238ff
commit 350eee1ff0
13 changed files with 211 additions and 4 deletions

View File

@ -30,6 +30,7 @@ services:
- gitea-ssh.${DOMAIN_ROOT}:${HOST_IP} - gitea-ssh.${DOMAIN_ROOT}:${HOST_IP}
networks: networks:
- default
- web - web
runner: runner:
@ -54,6 +55,9 @@ services:
- nuc.${DOMAIN_ROOT}:${HOST_IP} - nuc.${DOMAIN_ROOT}:${HOST_IP}
- gitea-ssh.${DOMAIN_ROOT}:${HOST_IP} - gitea-ssh.${DOMAIN_ROOT}:${HOST_IP}
networks:
- default
networks: networks:
web: web:
external: true external: true

2
homarr/.env.example Normal file
View File

@ -0,0 +1,2 @@
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
DOMAIN_ROOT=domain.tld

40
homarr/docker-compose.yml Normal file
View File

@ -0,0 +1,40 @@
version: "3.8"
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- homarr_config:/app/data/configs
- homarr_data:/data
- homarr_icons:/app/public/homarr_icons
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.http.services.homarr.loadbalancer.server.port=7575"
- "traefik.enable=true"
- "traefik.http.routers.homarr.rule=Host(`home.${DOMAIN_ROOT}`)"
- 'traefik.http.routers.homarr.middlewares=authelia@docker'
networks:
- web
networks:
web:
external: true
volumes:
homarr_config:
external: true
homarr_data:
external: true
homarr_icons:
external: true

2
homepage/.env.example Normal file
View File

@ -0,0 +1,2 @@
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
DOMAIN_ROOT=domain.tld

View File

@ -0,0 +1,28 @@
version: "3.3"
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
volumes:
- homepage-config:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.http.services.homepage.loadbalancer.server.port=3000"
- "traefik.enable=true"
- "traefik.http.routers.homepage.rule=Host(`home.${DOMAIN_ROOT}`)"
- 'traefik.http.routers.homepage.middlewares=authelia@docker'
networks:
- web
volumes:
homepage-config:
external: true
networks:
web:
external: true

View File

@ -4,13 +4,32 @@ services:
image: gitea.dudenhoeffer.casa/steve/mort:latest image: gitea.dudenhoeffer.casa/steve/mort:latest
restart: unless-stopped restart: unless-stopped
container_name: mort container_name: mort
command: ./mort --env /app/.env command: ./mort
environment: environment:
- DOMAIN_ROOT=${DOMAIN_ROOT} - DOMAIN_ROOT=${DOMAIN_ROOT}
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}
- DATABASE_DSN=${DATABASE_DSN}
- WOLFRAM_APPID=${WOLFRAM_APPID}
- TENOR_API_KEY=${TENOR_API_KEY}
- TENOR_API_CLI=${TENOR_API_CLI}
- OPENAI_KEY=${OPENAI_KEY}
- GITEA_ENDPOINT=${GITEA_ENDPOINT}
- GITEA_TOKEN=${GITEA_TOKEN}
- GITEA_USER=${GITEA_USER}
- GITEA_PASS=${GITEA_PASS}
- BOBROSS_ENDPOINT=${BOBROSS_ENDPOINT}
- BOBROSS_API_KEY=${BOBROSS_API_KEY}
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
- TODOIST_TOKEN=${TODOIST_TOKEN}
- TVDB_API_KEY=${TVDB_API_KEY}
- TMDB_API_KEY=${TMDB_API_KEY}
- TMDB_READ_ACCESS_TOKEN=${TMDB_READ_ACCESS_TOKEN}
- OVERSEERR_ENDPOINT=${OVERSEERR_ENDPOINT}
- PLEX_ENDPOINT=${PLEX_ENDPOINT}
- PLEX_TOKEN=${PLEX_TOKEN}
- OPENWEATHERMAP_API_KEY=${OPENWEATHERMAP_API_KEY}
volumes:
- .env:/app/.env
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.services.bobross-receiver-mort.loadbalancer.server.port=8080" - "traefik.http.services.bobross-receiver-mort.loadbalancer.server.port=8080"
@ -46,6 +65,9 @@ services:
environment: environment:
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD} MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
ports:
- 3306:3306/tcp
volumes: volumes:
- mariadb_data:/var/lib/mysql - mariadb_data:/var/lib/mysql

2
nextcloud/.env.example Normal file
View File

@ -0,0 +1,2 @@
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
DOMAIN_ROOT=domain.tld

View File

@ -0,0 +1,33 @@
version: "3.8"
services:
nextcloud:
container_name: nextcloud-aio-mastercontainer
image: nextcloud/all-in-one:latest
restart: unless-stopped
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
- APACHE_PORT=11000
- SKIP_DOMAIN_VALIDATION=true
labels:
- "traefik.enable=false"
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- web
- default
networks:
web:
external: true
volumes:
nextcloud_aio_mastercontainer:
external: true

View File

@ -12,8 +12,10 @@ services:
- DOMAIN_ROOT=${DOMAIN_ROOT} - DOMAIN_ROOT=${DOMAIN_ROOT}
labels: labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.${DOMAIN_ROOT}`)"
- "traefik.http.services.portainer.loadbalancer.server.port=9000" - "traefik.http.services.portainer.loadbalancer.server.port=9000"
volumes: volumes:
- portainer_data:/data - portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock

13
traefik/custom/nas.yml Normal file
View File

@ -0,0 +1,13 @@
http:
routers:
nas-router:
rule: "Host(`nas.dudenhoeffer.casa`)"
service: nas-service
# Optionally, you can add TLS configuration here if your router is serving HTTPS
services:
nas-service:
loadBalancer:
servers:
- url: "http://192.168.0.145:5000"
passHostHeader: true

View File

@ -0,0 +1,40 @@
http:
routers:
nextcloud:
rule: "Host(`cloud.dudenhoeffer.casa`)"
#entrypoints:
# - "web"
service: nextcloud
#middlewares:
# - nextcloud-chain
services:
nextcloud:
loadBalancer:
#serversTransport: "nextcloud-servers-transport"
servers:
- url: "http://nextcloud-aio-nextcloud:9000" # Use the host's IP address if Traefik runs outside the host network
middlewares:
nextcloud-secure-headers:
headers:
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
https-redirect:
redirectscheme:
scheme: https
nextcloud-chain:
chain:
middlewares:
# - ... (e.g. rate limiting middleware)
- https-redirect
- nextcloud-secure-headers
# Define the serversTransport to skip TLS verification
serversTransports:
nextcloud-servers-transport:
insecureSkipVerify: true

13
traefik/custom/pihole.yml Normal file
View File

@ -0,0 +1,13 @@
http:
routers:
pihole-router:
rule: "Host(`pihole.dudenhoeffer.casa`)"
service: pihole-service
services:
pihole-service:
loadBalancer:
servers:
- url: "http://192.168.0.197:8081"
passHostHeader: true

View File

@ -8,6 +8,12 @@ services:
networks: networks:
- web - web
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoogle.rule=Host(`whoogle.${DOMAIN_ROOT}`)"
- "traefik.http.services.whoogle.loadbalancer.server.port=5000"
- 'traefik.http.routers.whoogle.middlewares=authelia@docker'
networks: networks:
web: web:
external: true external: true