mouse, 1 year ago (edited 4 months ago) This appears to be the exact same problem as github.com/mdshack/shotshare/issues/31 For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for /app/storage. This compose file should work. <span style="color:#323232;">version: "3.3" </span><span style="color:#323232;">services: </span><span style="color:#323232;"> shotshare: </span><span style="color:#323232;"> ports: </span><span style="color:#323232;"> - 2000:80 </span><span style="color:#323232;"> environment: </span><span style="color:#323232;"> - HOST=:80 </span><span style="color:#323232;"> - ALLOW_REGISTRATION=false </span><span style="color:#323232;"> volumes: </span><span style="color:#323232;"> - shotshare_data:/app/storage </span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite </span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env </span><span style="color:#323232;"> restart: unless-stopped </span><span style="color:#323232;"> container_name: shotshare </span><span style="color:#323232;"> image: mdshack/shotshare:latest </span><span style="color:#323232;">volumes: </span><span style="color:#323232;"> shotshare_data: </span><span style="color:#323232;">networks: {} </span>
This appears to be the exact same problem as github.com/mdshack/shotshare/issues/31
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for /app/storage.
/app/storage
This compose file should work.
<span style="color:#323232;">version: "3.3" </span><span style="color:#323232;">services: </span><span style="color:#323232;"> shotshare: </span><span style="color:#323232;"> ports: </span><span style="color:#323232;"> - 2000:80 </span><span style="color:#323232;"> environment: </span><span style="color:#323232;"> - HOST=:80 </span><span style="color:#323232;"> - ALLOW_REGISTRATION=false </span><span style="color:#323232;"> volumes: </span><span style="color:#323232;"> - shotshare_data:/app/storage </span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite </span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env </span><span style="color:#323232;"> restart: unless-stopped </span><span style="color:#323232;"> container_name: shotshare </span><span style="color:#323232;"> image: mdshack/shotshare:latest </span><span style="color:#323232;">volumes: </span><span style="color:#323232;"> shotshare_data: </span><span style="color:#323232;">networks: {} </span>