Merge pull request '🐛 Fix that known_hosts are discarded on container update' (!77) from nodered-known_hosts into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/77 Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
commit
ac46e1dd7c
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@
|
|||
- 127.0.0.1:9002:1880
|
||||
volumes:
|
||||
- "{{ nodered_data }}/data:/data"
|
||||
# Mount the .ssh/known_hosts, otherwise the host must be confirmed
|
||||
# (via docker exec) every time the container is updated.
|
||||
- "{{ nodered_data }}/known_hosts:/usr/src/node-red/.ssh/known_hosts:rw"
|
||||
detach: yes
|
||||
keep_volumes: yes
|
||||
restart_policy: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue