@Tiritibambix@lemmy.ml avatar

Tiritibambix

@Tiritibambix@lemmy.ml

French, speaking English and Spanish.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

80% of subventions are going to 20% of the biggest “farmers” in Europe. Big distribution buys at very low prices and sell at very high prices. Small farmers don’t earn enough to decently live and kill themselves. Government do nothing because €€ Big Agro-food companies and lobbies are killing for profit.

Support local production and direct distribution !

This is oversimplified and badly written but it sums up the situation.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I struggled a lot with ports.

I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500

Here’s my compose (path is OMV path)


<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:2000
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:2000
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}
</span>

image


<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} 
</span>

I can’t wrap my head around this

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

To give more information:

I’m a portainer user and wanted to try shotshare as is looks exactly like what I need :)

I followed these steps: sudo mkdir Shotshare and cd into this directory sudo touch .env database.sqlite sudo chown 82:82 .env database.sqlite

and then tried this docker-compose:


<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:2000
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:2000
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh wow, thanks for trying this. It is working indeed.

I am an absolute begginer so let me ask. Where is shotshare_data on my machine ? Is it in docker volumes ( like /var/lib/docker/volumes/) ? Is there a way I can store data in /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/ ?

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh that’s great.

So do I need to keep this ?


<span style="color:#323232;">volumes:
</span><span style="color:#323232;">    shotshare_data:
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Thank you very much !

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I love seeing awesome open source softwares continue to live after being bought or shutdown :D

But forgive my ignorance: why forking Mihon and not just use it as is ?

pawelgrzybek, to nintendo
@pawelgrzybek@mastodon.social avatar

Dear Hiring Manager at @nintendo,

I am writing to express my interest in the Software Engineer position at Nintendo. With my strong technical background and expertise in error handling, I believe I would be a valuable addition to your team 😜

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

So that is not a legend. Some people do really need the /s …

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

While this looks appealing, there is no docker support. So I prefer Plant-it

Tiritibambix, (edited )
@Tiritibambix@lemmy.ml avatar

“Docker support” do you mean nobody has taken the steps to create a plug and play solution for you

You guess right. I am no genius when it comes to computers, and I’m already amazed I managed to at least learn how to selfhost with docker. But every time I put my nose in dockerfile results in a failure 😅

I’ll be following your progress on this with great interest :)

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

The decision the mods are going to take will leave you speechless.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I was using fdroid previously.

I’ll wait for an official build, as I lack the knowledge to compile it myself.

Thanks for your answer.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I was asking because I remember reading someone saying he was using these. I can’t find the comment, but I might have misunderstood.

Thanks for your answer.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Thanks for your answer but I already tried that. Obtainium won’t let me add it as there are no releases yet.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

You just taught me something. Thank you

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

It’s not the cult, it’s the interpretation some maniacs make of it.

Remember how Christians “pacified” entire populations here and there in Africa and the whole american continent. Doesn’t look good either 😏

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Strong argumentation.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

So that validates anybody from a cult or a religion killing another person ? I don’t get your point.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

The way you got to that elaborated answer got me stunned.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • Durango
  • cubers
  • ethstaker
  • magazineikmin
  • rosin
  • Youngstown
  • InstantRegret
  • khanakhh
  • slotface
  • everett
  • thenastyranch
  • kavyap
  • DreamBathrooms
  • HellsKitchen
  • rhentai
  • normalnudes
  • GTA5RPClips
  • mdbf
  • cisconetworking
  • tester
  • osvaldo12
  • tacticalgear
  • lostlight
  • relationshipadvice
  • Leos
  • modclub
  • sketchdaily
  • All magazines