diff --git a/master/Caddyfile b/master/Caddyfile deleted file mode 100644 index dc9453d..0000000 --- a/master/Caddyfile +++ /dev/null @@ -1,100 +0,0 @@ -{ - # Keep this ONLY for the .io domains - local_certs -} - -# The Authelia Protection Snippet -(authelia_auth) { - forward_auth authelia:9091 { - uri /api/verify?rd=https://auth.corebot.ca/ - copy_headers Remote-User Remote-Groups Remote-Name Remote-Email - } -} - -# --- PUBLIC PRODUCTION (.ca) --- - -auth.corebot.ca { - reverse_proxy authelia:9091 { - header_up Host {host} - header_up X-Real-IP {remote_host} - header_up X-Forwarded-Proto {scheme} - } -} - -git.corebot.ca { - reverse_proxy 100.98.158.31:3000 { - header_up Host {host} - header_up X-Real-IP {remote_host} - header_up X-Forwarded-Proto {scheme} - } -} - -core.corebot.ca { - reverse_proxy komodo-core:9120 { - header_up Host {host} - header_up X-Real-IP {remote_host} - header_up X-Forwarded-Proto {scheme} - } -} - -vault.corebot.ca { - import authelia_auth - reverse_proxy 100.120.171.124:8081 { - header_up Host {host} - header_up X-Real-IP {remote_host} - header_up X-Forwarded-Proto {scheme} - } -} - -tos.corebot.ca { - root * /usr/share/caddy/legal - file_server -} - -privacy.corebot.ca { - root * /usr/share/caddy/legal - file_server -} - -# --- INTERNAL LAB (.io) --- - -main.bray.io { - tls internal - reverse_proxy mystic-home:80 -} - -core.bray.io { - tls internal - reverse_proxy 100.80.179.128:9120 -} - -vault.bray.io { - tls internal - reverse_proxy 100.120.171.124:8081 -} - -git.bray.io { - tls internal - reverse_proxy 100.98.158.31:3000 -} - -dns.bray.io { - tls internal - redir / /admin/ 308 - reverse_proxy 100.64.238.34:80 -} - -database.bray.io { - tls internal - reverse_proxy 100.109.59.41:80 -} - -prometheus.bray.io { - tls internal - reverse_proxy prometheus:9090 -} - -grafana.bray.io { - tls internal - reverse_proxy grafana:3000 -} \ No newline at end of file diff --git a/master/docker-compose.yml b/master/docker-compose.yml index b88be2c..4507bd1 100644 --- a/master/docker-compose.yml +++ b/master/docker-compose.yml @@ -122,22 +122,6 @@ depends_on: - komodo-core - authelia: - image: authelia/authelia:latest - container_name: authelia - restart: always - volumes: - - ./authelia:/config - environment: - - TZ=America/New_York - - JWT_SECRET=${JWT_SECRET} - - STORAGE_ENCRYPTION_KEY=${ENCRYPT_KEY} - - SESSION_SECRET=${SECRET} - - ENCRYPT_KEY=${ENCRYPT_KEY} - - FORGEJO_DB_PASS=${FORGEJO_DB_PASS} - networks: - - monitor-net - mystic-home: image: nginx:alpine container_name: mystic-home