Commit Graph

970 Commits

Author SHA1 Message Date
renovate[bot]
7cbe25e315
chore(deps): update mariadb docker tag to v10.11 2024-03-18 15:38:34 +00:00
Christian Lempa
dbf8665789
Merge pull request #180 from ChristianLempa/renovate/gcr.io-cadvisor-cadvisor-0.x
chore(deps): update gcr.io/cadvisor/cadvisor docker tag to v0.49.1
2024-03-18 16:38:02 +01:00
renovate[bot]
7465bcad0a
chore(deps): update gcr.io/cadvisor/cadvisor docker tag to v0.49.1 2024-03-18 15:35:16 +00:00
Christian Lempa
72599660ff
Merge pull request #177 from ChristianLempa/renovate/busybox-1.x
chore(deps): update busybox docker tag to v1.36.1
2024-03-18 16:34:37 +01:00
renovate[bot]
e904441efa
chore(deps): update busybox docker tag to v1.36.1 2024-03-18 15:34:24 +00:00
Christian Lempa
ba58f86667
Merge pull request #142 from ChristianLempa/ChristianLempa/issue139
added example for local service
2024-03-18 16:34:14 +01:00
Christian Lempa
45e8525dbc
Merge pull request #158 from jwklijnsma/main
Add renovate.json
2024-03-18 16:33:53 +01:00
Christian Lempa
d96ec0f78a
Merge branch 'main' into main 2024-03-18 16:33:45 +01:00
Christian Lempa
764d5fdd20
Merge pull request #178 from ChristianLempa/renovate/docker.io-library-mariadb-10.x
chore(deps): update docker.io/library/mariadb docker tag to v10.11.7
2024-03-18 16:30:33 +01:00
renovate[bot]
481f8afc82
chore(deps): update docker.io/library/mariadb docker tag to v10.11.7 2024-03-18 15:27:06 +00:00
Christian Lempa
f8eb68b795
Merge pull request #176 from ChristianLempa/renovate/configure
chore: Configure Renovate
2024-03-18 16:26:40 +01:00
renovate[bot]
f22da41677
Add renovate.json 2024-03-18 15:25:47 +00:00
Christoph Schug
7468d3a8f4
Merge pull request #175 from cschug/upgrade_homeassistant
chore: upgrade Home Assistant 2024.3.0 -> 2024.3.1
2024-03-14 21:40:46 +01:00
Christoph Schug
1a4bb1ebd2 chore: upgrade Home Assistant 2024.3.0 -> 2024.3.1 2024-03-14 21:39:38 +01:00
Christoph Schug
e67e61b928
Merge pull request #173 from cschug/upgrade_nginxproxymanager
chore: upgrade Nginx Proxy Manager 2.10.3 -> 2.11.1
2024-03-08 22:28:15 +01:00
Christoph Schug
13684e9c48 chore: upgrade Nginx Proxy Manager 2.10.3 -> 2.11.1 2024-03-08 22:26:39 +01:00
Christoph Schug
97ebbc4be5
Merge pull request #172 from cschug/upgrade_node_exporter
chore: upgrade Node Exporter 1.5.0 -> 1.7.0
2024-03-08 22:09:54 +01:00
Christoph Schug
32796266d4 chore: upgrade Node Exporter 1.5.0 -> 1.7.0 2024-03-08 22:08:48 +01:00
Christoph Schug
0d8d646a61
Merge pull request #171 from cschug/fix_newlines
fix: ensure Unix-style newlines
2024-03-08 14:18:56 +01:00
Christoph Schug
c59109270a fix: ensure Unix-style newlines
Convert all DOS-style line breaks (carriage return followed by line
feed) to Unix-style line breaks (line feed only).
2024-03-08 14:14:41 +01:00
Christoph Schug
e7077ef73c
Merge pull request #170 from cschug/update_homeassistant
chore: upgrade Home Assistant 2023.6 -> 2024.3.0
2024-03-08 14:07:09 +01:00
Christoph Schug
b74f64c33f chore: upgrade Home Assistant 2023.6 -> 2024.3.0 2024-03-07 21:06:49 +01:00
Christoph Schug
45180e94c9
Merge pull request #169 from cschug/upgrade_grafana
chore: upgrade Grafana 10.3.3 -> 10.4.0
2024-03-06 23:31:35 +01:00
Christoph Schug
f4b36dad06 chore: upgrade Grafana 10.3.3 -> 10.4.0 2024-03-06 21:40:02 +01:00
Christoph Schug
b37a709672 fix: remove Compose version specification 2024-03-06 21:34:33 +01:00
Christoph Schug
10ae69e17a feat: add container health check 2024-03-06 21:33:39 +01:00
Christoph Schug
911fcc61eb feat: interpolate name of user and database
Unless explicitely set, the database name is nevertheless derived from
the user by the image's entrypoint, but we can make this more obvious by
defining a interpolation here.
2024-03-06 21:33:39 +01:00
Christoph Schug
ce2caf7c8f feat: allow custom timezone, defaulting to UTC 2024-03-06 21:33:39 +01:00
Christoph Schug
16a628e111 feat: allow custom host authentication method 2024-03-06 21:33:39 +01:00
Christoph Schug
89dd1f5a08 feat: default to use data checksums in PostgreSQL
There is little reason not to use PostgreSQL data checksums [1] and they
can greatly help to ensure data integrity.

[1] https://www.postgresql.org/docs/current/checksums.html
2024-03-06 21:33:39 +01:00
Christoph Schug
edf466c7c9 feat: use Docker secrets for password
Using environment variables for secret data like passwords is an
anti-pattern as they can easily leak. It's much safer to maintain the
data as a file. To prevent accidental commits of the password file, we
are adding a `.gitignore` file.
2024-03-06 21:33:39 +01:00
Christoph Schug
bb84e13b9a feat: give additional information on custom networking 2024-03-06 21:33:39 +01:00
Christoph Schug
e2d527ec67 feat: use the latest PostgreSQL release as named version
Using the `latest` tag is bad practice.

Also reference the full path of the container image including its
container registry as for example Podman Compose doesn't default to
Docker Hub.
2024-03-06 21:33:39 +01:00
Christoph Schug
89f8ecb4a5 feat: use the local volume storage driver by default 2024-03-06 21:33:39 +01:00
Christoph Schug
591ec21010 fix: use version 3.8 of the Docker Compose specification
See also the Compose and Docker compatibility matrix [1].

While at it, reorder top-level configuration elements and
separate each by a blank line to enhance readability.

[1] https://docs.docker.com/compose/compose-file/compose-file-v3/#compose-and-docker-compatibility-matrix
2024-03-06 21:33:39 +01:00
Christoph Schug
989a080d16
Merge pull request #168 from cschug/pin_version_nextcloud
Pin version of Nextcloud and its MariaDB
2024-03-05 12:14:38 +01:00
Christoph Schug
0a095882ae chore: pin version of Nextcloud's MariaDB to 10.6.17 2024-03-05 12:11:23 +01:00
Christoph Schug
9d609ca42b chore: pin version of Nextcloud to 28.0.3-apache
The `apache` variant was taken because the `latest` tag, which was in
use so far, also matches the `apache` variant.
2024-03-05 12:00:50 +01:00
Christian Lempa
49b783ff1f
Merge pull request #166 from cschug/reduce_ansible_lint_issues
Reduce number of issues reported by Ansible Lint
2024-03-04 09:39:39 +01:00
Christian Lempa
a16775d91e
Merge pull request #167 from ChristianLempa:157-no-template-for-new-issues-hope-to-solve-this-issue-and-play-my-part-to-help-a-little
added templates for issues and prs
2024-03-04 09:34:26 +01:00
Christian Lempa
5601944fa4 added templates for issues and prs 2024-03-04 09:33:54 +01:00
Christoph Schug
aa786b1b1d fix: tell Ansible about the idempotency of this task
This shell command doesn't change state on the system, therefore
it is safe to set `changed_when` to `false`, and we can also
set `check_mode` to `false` here to allow execution when run in
check mode.
2024-03-03 17:57:02 +01:00
Christoph Schug
7983a7c85f fix: fix use of become/become_user
If `become_user` is being defined on a task level, also `become` should
be set on that very task. As there aren't any other tasks, the `become`
on the top-level becomes obsolete.
2024-03-03 17:54:55 +01:00
Christoph Schug
7ceb755f35 fix: set pipefail flag in shell commands using pipes
Without `pipefail` Ansible cannot detect if there is an error executing
the command before the pipe as the return code of the shell only
reflects the return code of the last command. As not all shells support
`pipefail` (e.g., `ash`, `dash`) we also enfore the use of `bash` in
this case.
2024-03-03 17:49:31 +01:00
Christoph Schug
11ece4a070 fix: remove bogus task which does nothing
The command doesn't change anything on the system, and the registered
variable `disk_usage` is never being used, moreover it gets overwritten
by the next task.
2024-03-03 17:38:41 +01:00
Christoph Schug
abe4bbcc85 fix: add exception to ignore Ansible Lint rule package-latest 2024-03-03 17:36:01 +01:00
Christoph Schug
d06aab167e fix: replace shell commands by Ansible modules 2024-03-03 17:35:14 +01:00
Christoph Schug
b46f18d437 fix: fix insecure file permission and ownership 2024-03-03 17:17:19 +01:00
Christoph Schug
0621aca3af fix: become methods should be fully-qualified 2024-03-03 17:03:06 +01:00
Christoph Schug
539b98d14b fix: fix Jinja2 spacing issues 2024-03-03 17:01:00 +01:00