openwisp / openwisp/openwisp-controller
[docker] Add persistence by default
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 773
- Forks
- 315
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 14
Description
When running OpenWISP as a docker container with default settings, nothing is stored permanently and there is no way of making changes to local_settings.
I can think of two methods to add persistence by default:
- Add a
VOLUMEstatement to theDockerfile:VOLUME /usr/src/app/tests - Update the
READMEto make the location of files that require persistence known to users by updating thedocker runcommand:sudo docker run -it -v openwisp:/usr/src/app/tests -p 8000:8000 openwisp/controller
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Dockerfile and the README's docker run command. Determine which application files, including local_settings, must survive container recreation and compare the proposed VOLUME and README approaches. Done means default Docker usage preserves the required changes and the documented command or image behavior clearly exposes the persistent location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100