[GH-ISSUE #18] Are there any plans to support mysql or postgresql data? #7

Open
opened 2026-03-03 19:10:49 +03:00 by kerem · 2 comments
Owner

Originally created by @aaro-n on GitHub (Dec 28, 2023).
Original GitHub issue: https://github.com/productiveops/dokemon/issues/18

Dokemon should use the sqlite database. Are there any plans to support mysql or postgresql database? If external databases are supported, I can use the data provided by the cloud service provider to view services.
And how does dokemon handle the relative path of the docker-compose volume? I have tested that dokemon must be an absolute path, relative paths are not acceptable, example

version: "3.8"
services:
  cloudreve:
    container_name: cloudreve
    image: cloudreve/cloudreve:latest
    restart: unless-stopped
    ports:
      - "80:5212"
    volumes:
      - /home/www/cloudreve/uploads:/cloudreve/uploads
      - /home/www/cloudreve/conf.ini:/cloudreve/conf.ini
      - /home/www/cloudreve/cloudreve.db:/cloudreve/cloudreve.db
      - /home/www/cloudreve/avatar:/cloudreve/avatar

This can find the corresponding volume

version: "3.8"
services:
  cloudreve:
    container_name: cloudreve
    image: cloudreve/cloudreve:latest
    restart: unless-stopped
    ports:
      - "80:5212"
    volumes:
      - ./cloudreve/uploads:/cloudreve/uploads
      - ./cloudreve/conf.ini:/cloudreve/conf.ini
      - ./cloudreve/cloudreve.db:/cloudreve/cloudreve.db
      - ./cloudreve/avatar:/cloudreve/avatar

The corresponding folder cannot be found

Originally created by @aaro-n on GitHub (Dec 28, 2023). Original GitHub issue: https://github.com/productiveops/dokemon/issues/18 Dokemon should use the sqlite database. Are there any plans to support mysql or postgresql database? If external databases are supported, I can use the data provided by the cloud service provider to view services. And how does dokemon handle the relative path of the docker-compose volume? I have tested that dokemon must be an absolute path, relative paths are not acceptable, example ``` version: "3.8" services: cloudreve: container_name: cloudreve image: cloudreve/cloudreve:latest restart: unless-stopped ports: - "80:5212" volumes: - /home/www/cloudreve/uploads:/cloudreve/uploads - /home/www/cloudreve/conf.ini:/cloudreve/conf.ini - /home/www/cloudreve/cloudreve.db:/cloudreve/cloudreve.db - /home/www/cloudreve/avatar:/cloudreve/avatar ``` This can find the corresponding volume ``` version: "3.8" services: cloudreve: container_name: cloudreve image: cloudreve/cloudreve:latest restart: unless-stopped ports: - "80:5212" volumes: - ./cloudreve/uploads:/cloudreve/uploads - ./cloudreve/conf.ini:/cloudreve/conf.ini - ./cloudreve/cloudreve.db:/cloudreve/cloudreve.db - ./cloudreve/avatar:/cloudreve/avatar ``` The corresponding folder cannot be found
Author
Owner

@salilponde commented on GitHub (Dec 28, 2023):

  1. MySQL (and other databases) will be supported in future versions. But this is a few months away.
  2. Currently only Docker Volumes are officially supported. Bind mounts (both absolute/relative paths) are not officially supported. You might be able to use absolute paths in bind mounts, however, you will have to add a bind mount to the Dokemon container (Server/Agent) too for that path. Otherwise your data will be stored in the Dokemon containers and will be LOST if you restart the container. It is likely that people will misconfigure this and end up losing their data, so I do not want to support this officially at the moment.
<!-- gh-comment-id:1870925854 --> @salilponde commented on GitHub (Dec 28, 2023): 1. MySQL (and other databases) will be supported in future versions. But this is a few months away. 2. Currently only Docker Volumes are officially supported. Bind mounts (both absolute/relative paths) are not officially supported. You might be able to use absolute paths in bind mounts, however, you will have to add a bind mount to the Dokemon container (Server/Agent) too for that path. Otherwise your data will be stored in the Dokemon containers and will be LOST if you restart the container. It is likely that people will misconfigure this and end up losing their data, so I do not want to support this officially at the moment.
Author
Owner

@aaro-n commented on GitHub (Dec 29, 2023):

Thanks for the reply. Will dokemon add a scheduled container running function in the future? I use certbot to apply for an https certificate. Certbot does not need to be running all the time. It only needs to be run when the certificate is about to expire.

<!-- gh-comment-id:1871800634 --> @aaro-n commented on GitHub (Dec 29, 2023): Thanks for the reply. Will dokemon add a scheduled container running function in the future? I use certbot to apply for an https certificate. Certbot does not need to be running all the time. It only needs to be run when the certificate is about to expire.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dokemon#7
No description provided.