This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Commit ba4d174
committed
fix: [#14] copy generated configuration files to persistent volume
- Add missing step to copy generated config files from application/storage/ to /var/lib/torrust/
- Copy tracker.toml, prometheus.yml, and nginx.conf to persistent volume after generation
- Fixes container startup issues where services couldn't find configuration files
- Ensures all generated configs are available in the persistent volume for Docker mounts
- Resolves Prometheus restart loop and nginx 502 errors
- Validates persistent data volume implementation with E2E tests
Problem: Configuration files were generated in application/storage/ but Docker Compose
was mounting from /var/lib/torrust/, causing containers to fail to start.
Solution: Added explicit copy step in deploy-app.sh to move generated configs
to persistent volume after configure-env.sh runs.1 parent a0062c9 commit ba4d174
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
368 | 380 | | |
369 | 381 | | |
370 | 382 | | |
| |||
0 commit comments