Working Group IT: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
|- | |- | ||
|SSO | |SSO | ||
| | |1 | ||
| | | | ||
*IT group in authentic | *IT group in authentic | ||
*test connecting wiki to authentik | *test connecting wiki to authentik | ||
Line 63: | Line 59: | ||
|Migrate Node Red | |Migrate Node Red | ||
|2 | |2 | ||
| | | - Remove unused flows | ||
- Remove unused flows | |||
|Milian | |Milian | ||
|https://hub.docker.com/r/nodered/node-red | |https://hub.docker.com/r/nodered/node-red | ||
Line 95: | Line 80: | ||
|2 | |2 | ||
|Replace external https://tickets.mumalab.org/courses/ with Pretix instance on our server with ticket.munichmakerlab.de | |Replace external https://tickets.mumalab.org/courses/ with Pretix instance on our server with ticket.munichmakerlab.de | ||
*Connect to Authentic => TODO | *Connect to Authentic => TODO | ||
*Setup for production => TODO | *Setup for production => TODO | ||
*Setup Email list/group | *Setup Email list/group | ||
*Setup Event Mails | *Setup Event Mails | ||
Line 122: | Line 103: | ||
|2 | |2 | ||
| | | | ||
*Check out cards feature for IT Working group? | *Check out cards feature for IT Working group? | ||
*Create shared folders e.g. for password safe | *Create shared folders e.g. for password safe | ||
Line 143: | Line 122: | ||
*<s>update docker networks for better separation?</s> | *<s>update docker networks for better separation?</s> | ||
*limit docker daemon with systemd slices to 90% RAM and CPU: https://unix.stackexchange.com/questions/537645/how-to-limit-docker-total-resources => seems not to work => double check | *limit docker daemon with systemd slices to 90% RAM and CPU: https://unix.stackexchange.com/questions/537645/how-to-limit-docker-total-resources => seems not to work => double check | ||
*add docker log rotation => in progress | |||
*Limit all containers e.g. via Docker compose => in progress | *Limit all containers e.g. via Docker compose => in progress | ||
*Check, that no container are exposed without reason (e.g. Authentik and pretix might miss) => done | *Check, that no container are exposed without reason (e.g. Authentik and pretix might miss) => done | ||
Line 156: | Line 136: | ||
Metrics: | Metrics: | ||
*Setup docker compose for Grafana + Prometheus: https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-prometheus/prometheus-config-examples/docker-compose-linux/ => done | *Setup docker compose for Grafana + Prometheus: https://grafana.com/docs/grafana-cloud/send-data/metrics/metrics-prometheus/prometheus-config-examples/docker-compose-linux/ => done | ||
*Limit Prometheus Storage: https://prometheus.io/docs/prometheus/latest/storage/#right-sizing-retention-size | |||
*Setup useful alerts and fix not proplery showing up ones => in progress | *Setup useful alerts and fix not proplery showing up ones => in progress | ||
*Authentication via Authentik | *Authentication via Authentik | ||
Line 174: | Line 155: | ||
|- | |- | ||
|IaC | |IaC | ||
| | |2 | ||
| | | | ||
*Add adaption for nextcloud OIDC | *Add adaption for nextcloud OIDC | ||
|Milian | |Milian | ||
| | | | ||
Line 199: | Line 174: | ||
|Fix status page Temperature: https://status.munichmakerlab.de/ | |Fix status page Temperature: https://status.munichmakerlab.de/ | ||
| | | | ||
| | | | ||
|- | |- | ||
Line 223: | Line 188: | ||
{| class="wikitable" | {| class="wikitable" | ||
!Topic | !Topic | ||
! | |||
!Tasks | !Tasks | ||
!Who is on it/wants to do it? | !Who is on it/wants to do it? | ||
!Notes | !Notes | ||
|- | |||
|Social Media | |||
| | |||
| | |||
* Update homepage => done | |||
* Move homepage to mastodon => done | |||
* Update Homepage content for better information (what is the makerlab, open Thursday) => done | |||
* Add FAQ Content: [[Frequently Asked Questions]] => done | |||
|Adrian, Milian | |||
| | |||
|- | |||
|IaC | |||
| | |||
| | |||
*Setup Ansible in Repo => Done | |||
*Playbook for Server => Done | |||
*Playbook for Docker => done | |||
*Add swap file => done | |||
*Add docker resource limit => done | |||
*Add docker prune job => done | |||
|Milian | |||
| | |||
|- | |||
|Setup Nextcloud | |||
| | |||
| | |||
*Check out cards feature for IT Working group? | |||
*Create shared folders e.g. for password safe | |||
*Check limitation of storage or how to add external storage => set quota for user | |||
*Create partition for the user files and configure owncloud to use this partition | |||
*Create calender and integrate into website | |||
*Replace google calender with next cloud calender | |||
*integrate new calender on homepage, kreativquartier, ticket system etc. | |||
|Phier, Severin | |||
| | |||
|- | |||
|Migrate Ticket System | |||
| | |||
|Replace external https://tickets.mumalab.org/courses/ with Pretix instance on our server with ticket.munichmakerlab.de | |||
*Setup DNS => Done | |||
*Setup Pretix => Done | |||
**<s>files and config copied over. Execute "docker compose up --build" in /data/pretix => issues: connection to redis and database seems not to work. => connection issue with docker network? issue with traefik? => redis was deactivated via config, but also database connections does not work</s> => <s>TODO remove treafik from docker compose; debug docker networking e.g. by connecting to the server and double check.</s> | |||
*Setup Email ticket@munichmakerlab.de => done | |||
|Milian/Phier | |||
|Setup new, without migration | |||
|- | |||
|Migrate Node Red | |||
| | |||
|Old version 2.0.6 | |||
Latest: 4.0.5 | |||
- Open firewall (ufw) for <code>1880 => done</code> | |||
- Migrate data to saturn and adjust settings for new version => done | |||
- Create systemd for node red for version 4.0.5 => done | |||
- Test container with new version - fix broken stuff => done | |||
|Milian | |||
|https://hub.docker.com/r/nodered/node-red | |||
|- | |||
|Wiki | |||
| | |||
| | |||
*containerize wiki and migrate to saturn => done | |||
*fix request account plugin => done (issue did not pop up on manual testing) | |||
|Severin | |||
| | |||
|- | |||
|SSO | |||
| | |||
| | |||
*test authentik on saturn => done | |||
*test connecting authentik and nextcloud => done | |||
*authentic password reset => done | |||
*migrate docker compose to /data/sso => done | |||
|Phier, Milian | |||
| | |||
|- | |- | ||
|Update Apps | |Update Apps | ||
| | |||
|e.g. Etherpad | |e.g. Etherpad | ||
|Severin | |Severin | ||
Line 233: | Line 279: | ||
|- | |- | ||
|MQTT | |MQTT | ||
| | |||
|Migrate to saturn and update to latest version. | |Migrate to saturn and update to latest version. | ||
Connect with Adrian => https://munichmakerlab.slack.com/archives/C79T8NFU7/p1731197933279969 | Connect with Adrian => https://munichmakerlab.slack.com/archives/C79T8NFU7/p1731197933279969 | ||
Line 249: | Line 296: | ||
|- | |- | ||
|IoT Setup Lab | |IoT Setup Lab | ||
| | |||
|Local https://www.home-assistant.io/ setup to have a plattform for additional functions like power monitoring or controlling of the devices in the lab | |Local https://www.home-assistant.io/ setup to have a plattform for additional functions like power monitoring or controlling of the devices in the lab | ||
*wipe and re-install local server with proxmox => vulpix.intern.munichmakerlab.de | *wipe and re-install local server with proxmox => vulpix.intern.munichmakerlab.de | ||
Line 256: | Line 304: | ||
|- | |- | ||
|Backup | |Backup | ||
| | |||
|Check Backup of Doorlok DB | |Check Backup of Doorlok DB | ||
=> old local server was removed | => old local server was removed |
Revision as of 21:29, 26 March 2025
Group that focus on the IT infrastructure of the lab like the Web Infrastructure
Channel Slack: #IT-Infrastructure
Migration and Optimization 2024/2025
We're planning to consolidate services into a standard deployment model, consolidate external services, and maybe add some new ones.
Next Milestones
- Get server stable
- Setup useable pretix + authentik + nextcloud calender
ToDos
Topic | Prio | Tasks | Who is on it/wants to do it? | Notes |
---|---|---|---|---|
SSO | 1 |
|
Phier, Milian | |
Wiki | 1 |
|
Severin | |
Lightburn Remote VM | 2 |
|
Phier | |
Migrate Node Red | 2 | - Remove unused flows | Milian | https://hub.docker.com/r/nodered/node-red |
Migrate Mailsetup | 2 |
|
open | |
Migrate Ticket System | 2 | Replace external https://tickets.mumalab.org/courses/ with Pretix instance on our server with ticket.munichmakerlab.de
|
Milian/Phier | Setup new, without migration |
Migrate Token DB | 2 | Existing setup https://github.com/homeofmaking/OpenUnitState/tree/master Migrate existing token from TBD Adjust Lasercutter and door(?) to this DB
... |
open | Contact German for old DB/Automation setup |
Setup Nextcloud | 2 |
|
Phier, Severin | |
Security and stability | 1 |
|
Milian | |
Logging and Monitoring | 1 | Setup Elastic Stack for Logging and Grafana + Prometheus for Metrics
Metrics:
Logs:
Data:
|
Milian | |
IaC | 2 |
|
Milian | |
Cleanup | 2 | Check MQTT and other IT devices. Which are still up to date, which can be fixed and which are not existent anymore.
check remaining stuff in the lab, if something depends on old ports: MuMaBus ; Cleanup also acl.conf |
Adrian | ongoing |
Status | 2 | Fix status page Temperature: https://status.munichmakerlab.de/ | ||
Orga | 2 |
|
DONE
Topic | Tasks | Who is on it/wants to do it? | Notes | |
---|---|---|---|---|
Social Media |
|
Adrian, Milian | ||
IaC |
|
Milian | ||
Setup Nextcloud |
|
Phier, Severin | ||
Migrate Ticket System | Replace external https://tickets.mumalab.org/courses/ with Pretix instance on our server with ticket.munichmakerlab.de
|
Milian/Phier | Setup new, without migration | |
Migrate Node Red | Old version 2.0.6
Latest: 4.0.5 - Open firewall (ufw) for - Migrate data to saturn and adjust settings for new version => done - Create systemd for node red for version 4.0.5 => done - Test container with new version - fix broken stuff => done |
Milian | https://hub.docker.com/r/nodered/node-red | |
Wiki |
|
Severin | ||
SSO |
|
Phier, Milian | ||
Update Apps | e.g. Etherpad | Severin | Done | |
MQTT | Migrate to saturn and update to latest version.
Connect with Adrian => https://munichmakerlab.slack.com/archives/C79T8NFU7/p1731197933279969
|
Mili | DONE | |
IoT Setup Lab | Local https://www.home-assistant.io/ setup to have a plattform for additional functions like power monitoring or controlling of the devices in the lab
|
Adrian | Initial setup done | |
Backup | Check Backup of Doorlok DB
=> old local server was removed |
Severin | Done, was setup on proxmox |
Ideas and Notes
Consolidate:
- Wiki: Containerize => Challenges: php modules; updating php/wiki; ggf. make it easier to include the plugins (maybe php compose module handling)
- Mailsystem: ??
Externally hosted, and to be transfered into MuMaLab Infrastructure
- Tickets (https://tickets.mumalab.org/courses/)
- Calendar -> Google Calendar -> NextCloud
- ToolJet (via OpenUnitState)
Planned Services
- NextCloud
- evtl Ticket System
- Single Sign On: e.g. login to wiki either locally or via SSO. Later only SSO. Can be used e.g. for nextcloud or other services as well
Details unclear
- InfoBeamer
Mailsystem
Should support migrating of existing data and maillinglists
- https://docs.mailcow.email/#what-is-mailcow-dockerized => seems to work with postfix and integration with mailman 3 seems to be possible
- Docker Mailserver
* Mailman supported via addon container, but very very old - docker-mailman3
- poste.io
- Mailu
- MailInABox - not dockerized
Lightburn VM
2. Licence for lightburn is already available. Would be nice to give members the chance to prepare Laser stuff remote and just come to the lab to laser.
Challenges: No Linux support https://forum.lightburnsoftware.com/t/linux-support-to-end-after-v1-7/144605; exposing remote desktop in secure way
Remote Systems?
SSO
IDPs
- Option: Authentik
- Option: https://git.cccv.de/uffd/uffd
- Option: ...?
Auth:
Complete guide to Nextcloud OIDC authentication with Authentik
Integrate Authentik and Nextcloud
Wiki Plugins for OIDC etc.: Plugable Auth