Comments (6)
Did you mount a volume in the docker-compose.yml
file for /var/opt/mailarchiva
?
from mailarchiva-docker.
Thank you for responding so quickly. I did not change anything. If you don't mind I'm still working on figuring out all of this docker stuff so and example would be great. Thank you in advance.
from mailarchiva-docker.
The default docker-compose from this repo is already configured to mount to the correct location.
If you used that your data should have been retained and subsequent docker compose up -d
runs should resume like normal.
from mailarchiva-docker.
I imported 48+k emails over the course of 3-4 days and there are only 60 total showing now. Not really sure what happened.
from mailarchiva-docker.
I would try running an import for a shorter time and then restart the container to see what happens.
It may help to post your compose file and the commands you're running.
from mailarchiva-docker.
So initially I tried the OOTB cloned repo and all the imports went well as mentioned above other than taking a very long time but that's expected. Then I tried setting another location for the config stuff using the docker-compose below and it was just automatically ignoring all imports into the volume. It's more than likely a lack of understanding of MailArchiva and Docker on my part. I am running this on an external SSD if that makes a difference.
The commands run are those in your instructions:
Build:
docker compose build
Run:
docker compose up -d
mailarchiva:
image: jokneemo/mailarchiva:8.11.68
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- /Volumes/MailArchiva/config/config:/etc/opt/mailarchiva
- /Volumes/MailArchiva/config/appdata:/var/opt/mailarchiva
environment:
CATALINA_OPTS: -Dproxy=yes
ports:
- 8091:8091/tcp # SMTP
- 8092:8092/tcp # Milter
from mailarchiva-docker.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailarchiva-docker.