Closed Cronist closed 9 months ago
Hi,
I think you're mixing up running a container for the DB and one for uvdesk.
You need to run 2 separate ones, and link them in the installer.
@Cronist ,
We have created a new blog for docker persistent data. You can follow the below blog steps: https://github.com/uvdesk/community-skeleton/wiki/Docker-Persistent-Container
Also, you can use our official docker image from here: https://hub.docker.com/r/webkul/uvdesk
At this moment, we are closing this issue. If you have further any query then reply on the same thread.
Thanks and Regards, Uvdesk Team
I am following up here:
https://github.com/uvdesk/community-skeleton/wiki/dockerize-helpdesk-project
I downloaded the zip file. extracted on my ubuntu server. compiles with the command below.
docker build -t uvdesk:latest .
run the container with CLI below
docker run -dit -p 8888:80 -e MYSQL_USER=uvdesk -e MYSQL_ROOT_PASSWORD=rootpassword -e MYSQL_PASSWORD=uvdeskpwd -e MYSQL_DATABASE=uvdesk --name uvdesk uvdesk
it runs without problem.
But when the container is down and restarts, all configs have gone as expected. so I tried to create a persistent data storage for SQL data, ticket attachments, and server-side uploads like logos, etc.
The directory structure is like this:
docker-compose.yml
sql-data
ticket-data
web-data