Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #441: Added persistent volume for evershop configuration in doc… #444

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

imanpatelb
Copy link

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
  • 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
  • No

…iguration in docker-compose.yml

- 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.
@fyksen
Copy link
Contributor

fyksen commented Jan 13, 2024

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

@treoden
Copy link
Collaborator

treoden commented Jan 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants