Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da016343c0 | |||
| bf749ebbde | |||
| 41d509a49d | |||
| f062f6862f | |||
| 2dfc0f734e |
@@ -177,7 +177,7 @@ version:
|
|||||||
vaultwarden: "1.35.4"
|
vaultwarden: "1.35.4"
|
||||||
gitea: "1.25.5"
|
gitea: "1.25.5"
|
||||||
redis: "8.6.1"
|
redis: "8.6.1"
|
||||||
immich: "v2.6.3"
|
immich: "v2.7.4"
|
||||||
actualbudget: "26.3.0"
|
actualbudget: "26.3.0"
|
||||||
paperless: "2.20.13"
|
paperless: "2.20.13"
|
||||||
vikunja: "2.2.2"
|
vikunja: "2.2.2"
|
||||||
|
|||||||
@@ -115,18 +115,10 @@
|
|||||||
become: true
|
become: true
|
||||||
tags: ["init", "site", "install-packages"]
|
tags: ["init", "site", "install-packages"]
|
||||||
|
|
||||||
- name: Install CLI tools
|
- name: Set CLI tools
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "console"
|
name: "console"
|
||||||
tasks_from: "services/set_cli_tools"
|
tasks_from: "services/set_cli_tools"
|
||||||
apply:
|
apply:
|
||||||
tags: ["init", "site", "tools"]
|
tags: ["init", "site", "tools"]
|
||||||
tags: ["init", "site", "tools"]
|
tags: ["init", "site", "tools"]
|
||||||
|
|
||||||
- name: Install chromium with font
|
|
||||||
ansible.builtin.include_role:
|
|
||||||
name: "console"
|
|
||||||
tasks_from: "services/set_chromium"
|
|
||||||
apply:
|
|
||||||
tags: ["init", "site", "chromium"]
|
|
||||||
tags: ["init", "site", "chromium"]
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
state: "directory"
|
state: "directory"
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
|
|
||||||
- name: Create contaienr data directory for app
|
- name: Create container data directory for app
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ node['home_path'] }}/data/containers"
|
path: "{{ node['home_path'] }}/data/containers"
|
||||||
owner: "{{ ansible_user }}"
|
owner: "{{ ansible_user }}"
|
||||||
|
|||||||
@@ -25,6 +25,10 @@ Volume=%h/containers/immich/ssl:/etc/ssl/immich:ro
|
|||||||
|
|
||||||
# Environment
|
# Environment
|
||||||
Environment="TZ=Asia/Seoul"
|
Environment="TZ=Asia/Seoul"
|
||||||
|
# The new environment from version 2.7.0 to enable CSP
|
||||||
|
Environment="IMMICH_HELMET_FILE=true"
|
||||||
|
|
||||||
|
# Redis
|
||||||
Environment="REDIS_HOSTNAME=host.containers.internal"
|
Environment="REDIS_HOSTNAME=host.containers.internal"
|
||||||
Environment="REDIS_PORT={{ services['immich']['ports']['redis'] }}"
|
Environment="REDIS_PORT={{ services['immich']['ports']['redis'] }}"
|
||||||
Environment="REDIS_DBINDEX=0"
|
Environment="REDIS_DBINDEX=0"
|
||||||
|
|||||||
@@ -204,6 +204,11 @@ loki.process "journal_parser" {
|
|||||||
forward_to = [loki.write.loki.receiver]
|
forward_to = [loki.write.loki.receiver]
|
||||||
// Severity parsing
|
// Severity parsing
|
||||||
// If content of log includes "level" information, change the level
|
// If content of log includes "level" information, change the level
|
||||||
|
stage.json {
|
||||||
|
expressions = {
|
||||||
|
"content_level" = "level",
|
||||||
|
}
|
||||||
|
}
|
||||||
stage.logfmt {
|
stage.logfmt {
|
||||||
mapping = {
|
mapping = {
|
||||||
"content_level" = "level",
|
"content_level" = "level",
|
||||||
|
|||||||
@@ -1,5 +1,26 @@
|
|||||||
# Git configuration
|
# Git configuration
|
||||||
|
|
||||||
|
## Convention
|
||||||
|
|
||||||
|
- `type(scope): subject`
|
||||||
|
|
||||||
|
- type:
|
||||||
|
- feat: Append the new feature
|
||||||
|
- fix: Fix the bug or errors
|
||||||
|
- docs: Fix the documentations
|
||||||
|
- refactor: Modify code structure without functional changes
|
||||||
|
- perf: Improve the performance
|
||||||
|
- chore: Modify system, package manager, etc configuration
|
||||||
|
- style: Fix code formatting, etc...
|
||||||
|
|
||||||
|
## Commit and tags
|
||||||
|
|
||||||
|
- In this homelab, `[Infra_structure_change]:[Services_change]:[Documents_and_configuration_change]` is the tagging rule.
|
||||||
|
- Tagging and commit should be distinguished.
|
||||||
|
- The change which affects system: tagging
|
||||||
|
- The change which doesn't affect system: commit
|
||||||
|
- `git commit -m "docs(git): define git convention"`
|
||||||
|
|
||||||
## Local git
|
## Local git
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -29,14 +50,8 @@ git add .
|
|||||||
# Check git changes
|
# Check git changes
|
||||||
git status
|
git status
|
||||||
git commit -m "1.0.0: Release IaaS baseline"
|
git commit -m "1.0.0: Release IaaS baseline"
|
||||||
# git commit -m "docs: update 07-git.md to add the way to manage git system"
|
|
||||||
# Make current documents as snapshot
|
|
||||||
git tag -a 1.0.0 -m "IaaS baseline"
|
git tag -a 1.0.0 -m "IaaS baseline"
|
||||||
# Make special changes
|
|
||||||
# In this homelab, [Infra_structure_change]:[Services_change]:[Documents_and_configuration_change]
|
|
||||||
# Tagging and commit should be distinguished.
|
|
||||||
# The change which affects system: tagging
|
|
||||||
# The change which doesn't affect system: commit
|
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
git status # What files are changed
|
git status # What files are changed
|
||||||
|
|||||||
@@ -119,7 +119,7 @@
|
|||||||
- [x] Immich
|
- [x] Immich
|
||||||
- [x] Actual budget
|
- [x] Actual budget
|
||||||
- [x] Paperless-ngx
|
- [x] Paperless-ngx
|
||||||
- [x] vikunja - When affine is verified to subsitute kanban board and etc, then disable this service.
|
- [x] vikunja - When affine is verified to substitute kanban board and etc, then disable this service.
|
||||||
- [x] OpenCloud
|
- [x] OpenCloud
|
||||||
- [x] affine \(Notion substitution\)
|
- [x] affine \(Notion substitution\)
|
||||||
- [ ] Radicale
|
- [ ] Radicale
|
||||||
|
|||||||
Reference in New Issue
Block a user