Merge pull request 'feat/renovate-docker-images' (!157) from feat/renovate-docker-images into master

Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/157
Reviewed-by: Stefan Haun <tux@netz39.de>
This commit is contained in:
dkdent 2023-07-28 22:52:12 +02:00
commit e8e38c0b6b
7 changed files with 25 additions and 11 deletions

View file

@ -9,7 +9,6 @@
docker_ip_ranges: ["172.16.0.0/12", "192.168.0.0/16"] docker_ip_ranges: ["172.16.0.0/12", "192.168.0.0/16"]
openldap_image_version: 1.5.0
openldap_data: "{{ data_dir }}/openldap" openldap_data: "{{ data_dir }}/openldap"
openldap_domain: "ldap.n39.eu" openldap_domain: "ldap.n39.eu"
ldap_domain: "netz39.de" ldap_domain: "netz39.de"
@ -52,7 +51,7 @@
- name: Ensure container for openLDAP is running. - name: Ensure container for openLDAP is running.
docker_container: docker_container:
name: openLDAP name: openLDAP
image: "osixia/openldap:{{ openldap_image_version }}" image: osixia/openldap:1.5.0
detach: yes detach: yes
state: started state: started
restart_policy: unless-stopped restart_policy: unless-stopped

View file

@ -84,7 +84,7 @@
- name: Ensure apt-cacher container is running - name: Ensure apt-cacher container is running
docker_container: docker_container:
name: apt_cacher_ng name: apt_cacher_ng
image: "mrtux/apt-cacher-ng" image: mrtux/apt-cacher-ng:latest
pull: true pull: true
state: started state: started
restart_policy: unless-stopped restart_policy: unless-stopped

View file

@ -13,13 +13,13 @@
nodered_image: nodered/node-red:3.0.1-1-18 nodered_image: nodered/node-red:3.0.1-1-18
nodered_data: "{{ data_dir }}/nodered" nodered_data: "{{ data_dir }}/nodered"
rabbitmq_image: "bitnami/rabbitmq:3.10.7" rabbitmq_image: bitnami/rabbitmq:3.10.7
rabbitmq_data: "{{ data_dir }}/rabbitmq" rabbitmq_data: "{{ data_dir }}/rabbitmq"
pwr_meter_pulse_gw_image: "netz39/power-meter-pulse-gateway:0.3.0" pwr_meter_pulse_gw_image: netz39/power-meter-pulse-gateway:0.3.0
brotherql_host_port: 9004 brotherql_host_port: 9004
brotherql_web_image: "pklaus/brother_ql_web:alpine_9e20b6d" brotherql_web_image: pklaus/brother_ql_web:alpine_9e20b6d
roles: roles:
# role 'docker_setup' applied through group 'docker_host' # role 'docker_setup' applied through group 'docker_host'

View file

@ -14,7 +14,7 @@
dokuwiki_port: 9005 dokuwiki_port: 9005
# This container is pinned, because there are issues # This container is pinned, because there are issues
# with backwards compatibility within the same tag! # with backwards compatibility within the same tag!
dokuwiki_image: "bitnami/dokuwiki:20220731@sha256:989ab52cf2d2e0f84166e114ca4ce88f59546b8f6d34958905f8d81c18cbd759" dokuwiki_image: bitnami/dokuwiki:20220731@sha256:989ab52cf2d2e0f84166e114ca4ce88f59546b8f6d34958905f8d81c18cbd759
discord_invite_domain: discord.netz39.de discord_invite_domain: discord.netz39.de
@ -100,7 +100,7 @@
- name: Setup Docker Registry Container - name: Setup Docker Registry Container
docker_container: docker_container:
name: registry name: registry
image: "registry:2" image: registry:2
pull: true pull: true
state: started state: started
restart_policy: unless-stopped restart_policy: unless-stopped
@ -167,7 +167,7 @@
- name: Setup container for secondary FFMD DNS - name: Setup container for secondary FFMD DNS
docker_container: docker_container:
name: bind9-md-freifunk-net name: bind9-md-freifunk-net
image: "ffmd/bind9-md-freifunk-net:2022111601" image: ffmd/bind9-md-freifunk-net:2022111601
pull: true pull: true
state: started state: started
restart_policy: unless-stopped restart_policy: unless-stopped

View file

@ -13,7 +13,7 @@
- name: Setup the docker container for unifi-controller - name: Setup the docker container for unifi-controller
docker_container: docker_container:
name: unifi-controller name: unifi-controller
image: "jacobalberty/unifi:v7.1.65" image: jacobalberty/unifi:v7.1.65
state: started state: started
restart_policy: unless-stopped restart_policy: unless-stopped
container_default_behavior: no_defaults container_default_behavior: no_defaults

View file

@ -14,7 +14,6 @@ forgejo_ssh_port: 2222
forgejo_domain_name: gitea.n39.eu forgejo_domain_name: gitea.n39.eu
forgejo_image: codeberg.org/forgejo/forgejo:1.19 forgejo_image: codeberg.org/forgejo/forgejo:1.19
shlink_host_port: 8083 shlink_host_port: 8083
shlink_domain_name: sl.n39.eu shlink_domain_name: sl.n39.eu
shlink_image: shlinkio/shlink:2.6.2 shlink_image: shlinkio/shlink:2.6.2

16
renovate.json Normal file
View file

@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"regexManagers": [
{
"fileMatch": [
"host-*.yml",
"host_vars/*/vars.yml"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker",
"matchStrings": [
"image: (?<depName>.*?):(?<currentValue>.*?)(@sha256:(?<currentDigest>.*?))?$"
]
}
]
}