feat: initial test + add forge + add panopticon

This commit is contained in:
Marc 2024-06-11 21:05:15 -04:00
commit e660c5cfb5
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 77 additions and 0 deletions

50
Caddyfile Normal file
View file

@ -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
}

27
service.yml Normal file
View file

@ -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