Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,37 @@
Note: Make sure no secrets are leaked!
```bash
gitleaks detect --source . -v
```

# Server Setups and Stuff we Self Host

Shell scripts, ansible scripts and config files for foss united servers and self-hosted applications.

### List of Applications
### List of Applications

- [Listmonk](https://listmonk.app) - For sending bulk emails and newsletter
- [Nextcloud](./servers/apps/nextcloud/README.md) - Nextcloud instance self hosted for FOSS United Team's internal usage, and for switching from the GSuite (like Google Docs, Google Sheets).

https://listmonk.fossunited.org (only admin access)

- [Vaultwarden](./servers/apps/vaultwarden/README.md) - Password Management on Organization and User level
- [Mattermost](./servers/apps/mattermost/mattermost.md) - For Internal team discussions

https://mattermost.fossunited.org (only team access)

- [Livecode](https://github.com/fossunited/falcon) - A service that execute code in any programming language in a sandboxed environment.
- [Jisti](https://github.com/jitsi/jitsi-meet) - For all Meetings in and around organization

https://meet.fossunited.org (open for all to use)

- It also has Etherpad lite for meeting notes

https://meet.fossunited.org/etherpad/p/dtest (open for all)

- [Caddy file server](https://caddyserver.com/) - For file sharing with community

https://files.fossunited.org/ (seldom used, has some files)


#### Seldom Used (or Ignored)
- [Nextcloud](./servers/apps/nextcloud/README.md) - Nextcloud instance self hosted for FOSS United Team's internal usage, and for switching from the GSuite (like Google Docs, Google Sheets).
- [Librechat](https://www.librechat.ai/) - AI chat platform/search engine called [Echo](https://echo.fossunited.org)
- [Livecode](https://github.com/fossunited/falcon) - A service that execute code in any programming language in a sandboxed environment.
1 change: 1 addition & 0 deletions servers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Services Running:
- nginx
- frape-bench
- livecode
- caddy

Important Locations:
- /home/fossunited/frappe-bench
Expand Down
46 changes: 46 additions & 0 deletions servers/apps/caddy/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# again same password as listmonk to decrypt (in emacs M-x epa-decrypt-region)
-----BEGIN PGP MESSAGE-----

jA0ECQMKduqVxERu8UD/0o8B4hJWwSwrcHzypx+hn4e0GYJcmqeOw0eVxlndWUF+
mxGo87FHqEn2oUgI+z5MkGQa9UqlosNLReGO4DpaHQWoJqC+oYUVrf42LMXjZUYi
wUP3Ccvq0bhD7S2F9IapF121OdyqYK9i6Bus09JGAjKvF6IwQQ4/p1UAMUDr9LC3
hRIcQIxOdWHcNTvZpjW3eQ==
=DBeZ
-----END PGP MESSAGE-----

# Jitsi
meet.fossunited.org {
handle_path /etherpad/* {
reverse_proxy etherpad.meet.jitsi:9001
}
handle {
reverse_proxy 139.144.1.25:8000 {
header_up X-Real-IP {remote_host}
}
}
}
# Excalidraw backend for jitsi
whiteboard.meet.fossunited.org {
reverse_proxy 139.144.1.25:8695 {
header_up Host {host}
header_up X-Real-IP {remote_host}
# WebSocket upgrade support
transport http {
keepalive 30s
}
}
}

files.fossunited.org {
file_server {
browse
}
root * /filebrowser
}
filemanager.fossunited.org {
reverse_proxy 139.144.1.25:8090
}

fureport.tamilnadu.tech {
reverse_proxy ghost-blog:2368
}
9 changes: 9 additions & 0 deletions servers/apps/caddy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM caddy:builder-alpine AS builder

RUN xcaddy build \
--with github.com/caddy-dns/cloudflare

FROM caddy:alpine

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

3 changes: 3 additions & 0 deletions servers/apps/caddy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Instead of nginx, caddy is used for reverse proxy and routing

- Is in same jitsi server itself
26 changes: 26 additions & 0 deletions servers/apps/caddy/compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
services:
caddy:
image: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- /root/filebrowser/srv:/filebrowser
- caddy_data:/data
- caddy_config:/config
networks:
- default
- jitsi

networks:
default:
jitsi:
external: true
name: docker-jitsi-meet_meet.jitsi

volumes:
caddy_data:
caddy_config:
11 changes: 11 additions & 0 deletions servers/apps/filebrowser/compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
filebrowser:
image: filebrowser/filebrowser
restart: unless-stopped
volumes:
- ./srv:/srv
- ./db:/database
- ./config:/config
ports:
- 8090:80
user: 1000:1000
8 changes: 8 additions & 0 deletions servers/apps/filebrowser/config/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"port": 80,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database/filebrowser.db",
"root": "/srv"
}
5 changes: 5 additions & 0 deletions servers/apps/filebrowser/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## A simple caddy file browser

https://files.fossunited.org

To add files, either ssh and add or via admin panel: https://filemanager.fossunited.org
Loading