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

Dockerfile - VOLUME is missing #195

Open
mzmrk opened this issue May 7, 2019 · 1 comment
Open

Dockerfile - VOLUME is missing #195

mzmrk opened this issue May 7, 2019 · 1 comment
Labels

Comments

@mzmrk
Copy link

mzmrk commented May 7, 2019

Please add following entry to Dockerfile:
VOLUME /usr/local/tomcat/alf_data

Without VOLUME entry, files uploaded by users are getting removed whenever docker image instance is removed/recreated.

From docker documentation:

VOLUME
Dockerfile reference for the VOLUME instruction

The VOLUME instruction should be used to expose any database storage area, configuration storage, or files/folders created by your docker container. You are strongly encouraged to use VOLUME for any mutable and/or user-serviceable parts of your image.

Alfresco backup docs: https://docs.alfresco.com/6.1/concepts/backup-intro.html

@killerboot
Copy link
Contributor

Hi, thanks for raising this. We will try address this issue in REPO-4397

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

No branches or pull requests

2 participants