Commit 6e8f3f1
fix(deploy): point DYNDNS_DATA/DYNDNS_LOGS at the container mount paths
The compose file was passing ${STEVEDORE_DATA} — the HOST path —
straight through to DYNDNS_DATA inside the container. That path doesn't
exist in the container (the volume is mounted at /data), so any
MkdirAll + write under cfg.DataDir succeeded on the container's
writable layer and got destroyed on every rebuild. MTProto secrets
visibly regenerated after each deploy because of this.
Use /data and /var/log/dyndns — the static container-side paths that
match the bind mounts further down in the file.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e5372bb commit 6e8f3f1
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
0 commit comments