Shotshare
An Imgur replacement
version: "3.3"
services:
shotshare:
ports:
\- 2000:80
environment:
\- HOST=:80
\- ALLOW\_REGISTRATION=false
volumes:
\- /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare\_data:/app/storage
\- /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
\- /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
restart: unless-stopped
container\_name: shotshare
image: mdshack/shotshare:latest
volumes:
shotshare\_data:
networks: {}
cd /home
git clone https://github.com/mdshack/shotshare
cd /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/
sudo mkdir Shotshare
cd /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare
sudo mkdir shotshare\_data
sudo touch .env database.sqlite
cp -r /home/shotshare/storage/\* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare\_data
chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/