Persistentní data v Dockeru #41

Open
opened 2026-02-04 14:29:23 +01:00 by batmanisko · 0 comments
Member

Feature: Persistent Data in Docker

Source: TODO.md lines 31-32

Implementation Notes

Deploying a new Docker version currently wipes all data because data.json is not mounted outside the container.

Sub-tasks from TODO.md:

  • Introduce a /data directory for persistent storage

Approach:

  1. Create a /data directory convention in the project
  2. Update docker-compose.yml to mount a volume for /data
  3. Move data.json (and any other persistent files) into the /data directory
  4. Update all file paths in the server code that reference data storage
  5. Document the volume mount in README for deployment instructions
## Feature: Persistent Data in Docker **Source:** TODO.md lines 31-32 ### Implementation Notes Deploying a new Docker version currently wipes all data because `data.json` is not mounted outside the container. **Sub-tasks from TODO.md:** - [ ] Introduce a `/data` directory for persistent storage **Approach:** 1. Create a `/data` directory convention in the project 2. Update `docker-compose.yml` to mount a volume for `/data` 3. Move `data.json` (and any other persistent files) into the `/data` directory 4. Update all file paths in the server code that reference data storage 5. Document the volume mount in README for deployment instructions
batmanisko added the Vylepšení label 2026-02-04 14:30:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#41