Troubleshoot traefik failure
This commit is contained in:
parent
fc0d2df371
commit
eefe05c118
@ -3,7 +3,8 @@
|
||||
# https://gethomepage.dev/en/configs/settings
|
||||
|
||||
title: Jafner.net
|
||||
target: _self
|
||||
#target: _self
|
||||
|
||||
layout:
|
||||
Jafner.net:
|
||||
style: row
|
||||
@ -23,4 +24,4 @@ layout:
|
||||
Jafner.tools Admin:
|
||||
style: row
|
||||
columns: 2
|
||||
|
||||
|
||||
|
@ -4,7 +4,8 @@ http:
|
||||
rule: "Host(`traefik.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "traefik-forward-auth@file"
|
||||
- "lan-only@file"
|
||||
#- "traefik-forward-auth@file"
|
||||
service: "api@internal"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
certResolver: "lets-encrypt"
|
||||
|
@ -15,7 +15,7 @@ services:
|
||||
restart: "no"
|
||||
networks:
|
||||
web:
|
||||
ipv4_address: 172.18.0.31
|
||||
#ipv4_address: 172.18.0.31
|
||||
monitoring:
|
||||
ports:
|
||||
- 80:80
|
||||
@ -30,4 +30,4 @@ networks:
|
||||
web:
|
||||
external: true
|
||||
monitoring:
|
||||
external: true
|
||||
external: true
|
||||
|
@ -28,8 +28,9 @@ serversTransport:
|
||||
|
||||
providers:
|
||||
docker:
|
||||
exposedByDefault: false
|
||||
endpoint: "tcp://docker-socket-proxy:2375"
|
||||
#exposedByDefault: true
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
#endpoint: "tcp://docker-socket-proxy:2375"
|
||||
watch: true
|
||||
network: web
|
||||
file:
|
||||
|
@ -19,6 +19,6 @@ docker ps -a
|
||||
|
||||
# wish I didn't have to do this
|
||||
# the exporter boots faster than the plex server, and doesn't seem to retry.
|
||||
wait 10
|
||||
docker container restart monitoring_exporter-plex
|
||||
docker container restart keycloak_forwardauth
|
||||
#wait 10
|
||||
#docker container restart monitoring_exporter-plex
|
||||
#docker container restart keycloak_forwardauth
|
||||
|
24
server/scripts/compose_up_new.sh
Executable file
24
server/scripts/compose_up_new.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "==========================================="
|
||||
echo "============= STARTING INFRA =============="
|
||||
echo "==========================================="
|
||||
|
||||
for service in traefik keycloak ddns
|
||||
do
|
||||
echo "===== STARTING $service ====="
|
||||
cd /home/joey/homelab/server/config/$service
|
||||
docker-compose up -d
|
||||
done
|
||||
|
||||
|
||||
echo "==========================================="
|
||||
echo "========== STARTING MAIN SERVERS =========="
|
||||
echo "==========================================="
|
||||
for service in /home/joey/homelab/server/config/*
|
||||
do
|
||||
echo "===== STARTING $service ====="
|
||||
cd $service
|
||||
docker-compose up -d
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user