Commit Graph

80 Commits (711dc58f2e496d1afae8c600caa1450986a90c3e)

Author SHA1 Message Date
Tuan-Dat Tran 711dc58f2e fix(docker/jellyfin): Moved jellyfin config to local machine due to error with sqlite dbs used for config
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-15 14:09:31 +01:00
Tuan-Dat Tran 5aaf3eef53 chore(inventory): add host-specific configuration files and update production inventory for proxmox hosts
- Add individual `host_vars` YAML files for new proxmox hosts (`aya01`, `inko`, `lulu`):
  - Set SSH and Ansible connection variables, including `ansible_user`, `ansible_host`, `ansible_port`, and `ansible_ssh_private_key_file`
  - Configure `ansible_become_pass` with respective vault entries for sudo access
  - Define host-specific metadata, including hostname and IP address

- Update `production` inventory:
  - Add new `[proxmox]` group and include `aya01`, `inko`, and `lulu` for proxmox-related automation

These additions streamline Ansible's management of proxmox hosts, centralizing their configuration and enabling easier host-specific variable access for deployment and management tasks.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-13 23:55:22 +01:00
Tuan-Dat Tran 33253e934d feat(docker): add Calibre Web service to Docker Compose configuration
- Add Calibre Web container configuration to `docker-compose.yaml`
  - Use `lscr.io/linuxserver/calibre-web:latest` image
  - Configure environment variables (PUID, PGID, TZ, DOCKER_MODS)
  - Set up volumes for persistent storage of Calibre configuration and books
  - Expose port 8084 to access the Calibre Web UI
  - Implement automatic restart policy (`unless-stopped`)

This commit introduces the Calibre Web service to the Docker Compose setup, enabling users to run a Calibre library management and e-book reader web service in a Docker container.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-11 01:04:30 +01:00
Tuan-Dat Tran 4db26b56da feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
  - Install Docker and Docker Compose via apt repository
  - Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
  - Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
Tuan-Dat Tran ce0411cdb0 fixed taint
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-13 22:56:59 +02:00
Tuan-Dat Tran 28d946cae5 Add noexecute taint on longhorn
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-13 21:49:10 +02:00
Tuan-Dat Tran 5d0f56ce38 linting
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 11:31:26 +02:00
Tuan-Dat Tran 0c1a8a95f2 add postgres exporter
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 11:17:03 +02:00
Tuan-Dat Tran 05c35a546a added installation of reqs for longhorn
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 05:20:35 +02:00
Tuan-Dat Tran d16cc0db06 Added notes for longhorn nodes
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 04:40:16 +02:00
Tuan-Dat Tran 2ae0f4863e update vault skeleton
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 04:14:01 +02:00
Tuan-Dat Tran 7d58de98d9 Added storage nodes for k3s
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-08 04:13:38 +02:00
Tuan-Dat Tran 92e4b3bb27 Add k3s-server02
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-07 20:56:12 +02:00
Tuan-Dat Tran ed980f816f prod and staging for tls in loadbalancer
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-04 00:00:02 +02:00
Tuan-Dat Tran c0e81ee277 Added script etc for ssl on lb
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-10-03 17:38:08 +02:00
Tuan-Dat Tran a09448985c Added https lb for lb
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-30 20:06:27 +02:00
Tuan-Dat Tran 95afa201e3 Fixed host forwarding for subdomain reverse proxy
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-30 10:53:18 +02:00
Tuan-Dat Tran 000375c7ba adjust name for upstream in lb
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-30 10:46:19 +02:00
Tuan-Dat Tran 2cc4fd0be0 Added http lb for lb
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-30 07:51:33 +02:00
Tuan-Dat Tran 8fb4eaf610 Added k3s agents
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-20 16:57:59 +02:00
Tuan-Dat Tran 3aa56be025 Full k3s server installation done
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-20 15:01:33 +02:00
Tuan-Dat Tran 51a49d003d Finished lb and db
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-19 23:10:00 +02:00
Tuan-Dat Tran 50abbf933c First step towards rewrite
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-17 23:44:20 +02:00
TuDatTr 6fd77266cd Added Homarr and removed jellyseer
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2024-01-25 00:15:15 +01:00
TuDatTr 58bfb589f1 Added additional info for gitea runner
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-27 23:25:18 +01:00
TuDatTr cb6909bbde Adjusted changed domain for ddns and fixed synlink for rclone
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-27 22:51:08 +01:00
TuDatTr 17d149b622 Fixed indentation for paperless
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-06 10:47:31 +01:00
Tuan-Dat Tran 104f1df02a Merge pull request 'Added Jellyseer' (#1) from dev into main
Reviewed-on: #1
2023-11-06 10:44:45 +01:00
TuDatTr 52a0071bd8 Added Jellyseer
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-06 10:16:53 +01:00
TuDatTr 4cbcf57141 Merge
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-06 10:10:24 +01:00
TuDatTr c6df5f904d Added new machine: inko, personalized root yaml files for specific host instead of group
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-11-05 20:33:59 +01:00
TuDatTr 860b1a6be4 Added naruto host and gitea to docker
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-10-10 11:34:02 +02:00
TuDatTr 582aa5e235 Add gitea
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-10-09 01:33:23 +02:00
TuDatTr 320c7cdd7a Added paperless consume to sambashare
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-10-08 14:57:32 +02:00
TuDatTr 3f88065da4 Added paperless
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-10-07 14:47:09 +02:00
TuDatTr 67d88c6576 Added Jellyfin
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-10-06 15:52:45 +02:00
TuDatTr a9af3c74c8 Switched to nginx proxy manager
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-08-15 04:16:51 +02:00
TuDatTr df1a070806 Added stirling-pdf, removed soft-serve, moved ddns and hass
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-08-13 21:01:10 +02:00
TuDatTr ef207c5d64 Added naruto
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-07-12 00:02:17 +02:00
TuDatTr c2b68f7f64 Added btrfs
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-06-19 22:38:07 +02:00
TuDatTr 6c8a33e730 Removed unused site-confs and added stub template
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-06-12 22:16:28 +02:00
TuDatTr 0a361d9804 Added smartctl_exporter for aya01 and fix for grafana
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-25 12:00:24 +02:00
TuDatTr eab5ff37cf Added gitlab and added node_exporters for mii and pi
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-24 14:44:43 +02:00
TuDatTr 8b1acb4eb7 Clean up variable organization (wip), better backup/node_exporter for mii, aya01, pi
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-12 11:58:02 +02:00
TuDatTr f456c516b3 Removed unnecessary mikrotik.mib
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-11 16:27:46 +02:00
TuDatTr 8586a3a59d Fixed prometheus persistant storage (fix needed to store on disk)
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-11 16:26:49 +02:00
TuDatTr ef01f7edeb Resolved merge conflicts
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-11 15:22:37 +02:00
TuDatTr b3ae5efdaa Moved qbitclients to gluetun network
Added grafana, prometheus and snmp exporter for madrigal and node exporter for aya01

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-11 15:09:52 +02:00
TuDatTr bf35d9cb82 Added new openvpn config
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-08 09:40:58 +02:00
TuDatTr 76a5ef1781 Added tautulli to public and torrentleech downloader
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2023-05-01 08:17:26 +02:00