🐛 Fix that known_hosts are discarded on container update
This commit is contained in:
parent
8617f84f9d
commit
e22f0a4fb0
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