evershop
evershop copied to clipboard
Issue #441: Added persistent volume for evershop configuration in doc…
docker-compose.yml
Important changes you have to make:
- Replace /path/in/evershop/container with the actual path where evershop stores its configuration files inside the container.
- after making changes, restart docker compose service.
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Tests for the changes have been added (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [X] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
What is the current behavior?
Currently, the docker-compose.yml does not provide a persistent volume for the evershop application configuration, meaning that any configuration changes made would be lost when the container is restarted.
Issue Number: #441
What is the new behavior?
This PR introduces a persistent volume mapping in the docker-compose.yml file for the evershop application. This change allows users to retain their evershop configuration even after the container is restarted, enhancing data persistence.
Does this PR introduce a breaking change?
- [ ] Yes
- [X] No
Evershop stores media and config in separate volumes.
Media folder by default is /app/media, so something like: evershop-media:/app/media evershop-config:/app/config
Hi @imanpatelb ,
The config
folder can be copied to the docker itself. Is there any reason you want to define a volume for it?
# Copy your config.
COPY config ./config
Thank you