commit e660c5cfb54b825b3fa58ad2ba622310c4cf9479 Author: Marc Cataford Date: Tue Jun 11 21:05:15 2024 -0400 feat: initial test + add forge + add panopticon diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..fbec090 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,50 @@ +{ + log default { + output stdout + format json + } +} + +vars { + HOST "host.containers.internal" +} + +# Grafana + +:59090 { + log { + level INFO + } + + reverse_proxy {vars.HOST}:9090 +} + +# Forgejo (web) + +:53000 { + log { + level INFO + } + + reverse_proxy {vars.HOST}:3000 +} + +# Forgejo (ssh) + +:52052 { + log { + level INFO + } + + reverse_proxy {vars.HOST}:2052 +} + +# Forgejo (postgres exporter / Prometheus) + +:53001 { + log { + level INFO + } + + reverse_proxy {vars.HOST}:3001 +} diff --git a/service.yml b/service.yml new file mode 100644 index 0000000..4bc2b92 --- /dev/null +++ b/service.yml @@ -0,0 +1,27 @@ +name: sesame +ports: + - host: 9091 + container: 9091 + - host: 2015 + container: 2015 + - host: 2019 + container: 2019 + - host: 10080 + container: 80 + - host: 10443 + container: 443 +volumes: + - name: caddy-data + - name: caddy-config +containers: + - name: caddy + image: caddy:2.8.4-alpine + volumes: + - name: caddy-data + container: /data + - name: caddy-config + container: /config + - host: ./Caddyfile + container: /etc/caddy/Caddyfile + readonly: true +