This commit is contained in:
Martin Eichner
2023-06-27 17:36:56 +02:00
commit 8d5852a4fa
46 changed files with 2330 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# ansible managed #
version: '3.3'
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_SCHEDULE=0 0 4 * * *
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_TIMEOUT=30s
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_ROLLING_RESTART=true
- TZ="Europe/Berlin"
restart: unless-stopped

View File

@@ -0,0 +1,5 @@
{% for user in keys %}
{% if keys[user].ssh_as_root | default(false) %}
{{ keys[user].pub_key }}
{% endif %}
{% endfor %}

View File

@@ -0,0 +1,3 @@
{% for user in users %}
{{ keys[user].pub_key }}
{% endfor %}