Ok so the solution was this. Thank you @mouse@midwest.social
cd /home
git clone https://github.com/mdshack/shotshare
cd .../Files/
sudo mkdir Shotshare
cd .../Files/Shotshare
sudo mkdir shotshare_data
sudo touch .env database.sqlite
cp -r /home/shotshare/storage/* .../Files/Shotshare/shotshare_data
chown 82:82 -R .../Files/Shotshare/
version: "3.3"
services:
shotshare:
ports:
- 2000:80
environment:
- HOST=:80
- ALLOW_REGISTRATION=false
volumes:
- .../Files/Shotshare/shotshare_data:/app/storage
- .../Files/Shotshare/database.sqlite:/app/database/database.sqlite
- .../Files/Shotshare/.env:/app/.env
restart: unless-stopped
container_name: shotshare
image: mdshack/shotshare:latest
networks: {}
Hello everyone.
I am deeply struggling to install shotshare on my server using docker-compose.
I followed the instructions and I’ve been talking with someone (from their team I guess) for 2 weeks without finding a solution.
Does anyone have a working docker-compose to share so I can compare it and understand ?
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Oh that’s great.
So do I need to keep this ?
No, since you are using the bind mount, you do not need to use the volume.
Thank you very much !
You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful.