I am trying to set up a persistent SQLite database for my Shiny application deployed via Shinyproxy with Docker Swarm. The app worked fine before without database. However, after adding the line container-volumes:["/db:/database"] to mount my SQLite file from the host server into the container, it continues to give me the error below. The directory db is present on my server. Permissions also seem to be fine. What could be the issue here? Attached also my application.yml file.
title: My App
- name: admin
- name: test
- id: myapp
container-cmd: [“R”, “-e”, “shiny::runApp(’/root/myapp’, host=‘0.0.0.0’, port=3838)”]
useForwardHeaders: true # this is very important to make the AWS Cognito auth works