Installation in a docker on unraid #388
pixbalance
started this conversation in
General
Replies: 2 comments 8 replies
-
btw, I get the error message: Oops! An Error Occurred |
Beta Was this translation helpful? Give feedback.
3 replies
-
I was able to get my box running. Your path is correct, and my database url is: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to get part-db running on a docker on unraid. Maybe I get some advice.
The Database is "/mnt/user/appdata/partdb/db" but I did not figure out how to set the datebase_url. The app.db is created in the folder but has 0B.
docker run -d --name='partdb' --net='br0' --ip='172.16.0.77' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="TAB-HomeServer" -e HOST_CONTAINERNAME="partdb" -e 'TCP_PORT_80'='80' -e 'DATABASE_URL'='sqlite:///%kernel.project_dir%/partdb/db/app.db' -e 'APP_ENV'='docker' -e 'DEFAULT_LANG'='de' -e 'DEFAULT_TIMEZONE'='Europe/Berlin' -e 'BASE_CURRENCY'='EUR' -e 'INSTANCE_NAME'='Part-DB' -e 'ALLOW_ATTACHMENT_DOWNLOADS'='0' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:80]' -l net.unraid.docker.icon='https://github.com/pawelmalak/unraid-templates/blob/master/templates/icons/partdb.png?raw=true' -v '/mnt/cache/appdata/partdb/uploads':'/var/www/html/uploads':'rw' -v '/mnt/cache/appdata/partdb/media':'/var/www/html/public/media':'rw' -v '/mnt/user/appdata/partdb/db':'/var/www/html/var/db':'rw' --restart unless-stopped 'jbtronics/part-db1:latest' da08308028a87770d5ea16dd9c09507108c46b232cba785ae24d49cbaf0459d9
Beta Was this translation helpful? Give feedback.
All reactions