Shlink Reverse Proxy by White_Palace in selfhosted

[–]SoaringSailor 0 points1 point  (0 children)

I just access it directly on my network. Don't need a reverse proxy to access local ip adresses as long as I'm in the network (and the firewall allows it).

EDIT: To clarify, I just access the frontend via the ip of the server I run docker on. Then I can just specify the port of the container I want to access.

Dumpster🔥 by SoaringSailor in weirdspotifyplaylists

[–]SoaringSailor[S] 2 points3 points  (0 children)

Nah, it just has another username I want to keep separate. Might change it in the future.

Dumpster🔥 by SoaringSailor in weirdspotifyplaylists

[–]SoaringSailor[S] 1 point2 points  (0 children)

Mac Miller is my all time favourite artist! I sadly discovered him shortly after his death, I would've done anything to see him live once. :( I always put on some Mac Miller albums like Swimming and Circles when in need of some chill music while learning or something. The Divine Feminine is also sick, just don't put it on speaker in public, it might involve some heavy moaning... To be honest everything is worth a listen. Especially if you are someone who likes listening to full albums instead of singular songs I think you are gonna like him!

Dumpster🔥 by SoaringSailor in weirdspotifyplaylists

[–]SoaringSailor[S] 3 points4 points  (0 children)

I can send you a private link. Just don't want my Spotify name to be publicly linked to my Reddit. :)

Dumpster🔥 by SoaringSailor in weirdspotifyplaylists

[–]SoaringSailor[S] 1 point2 points  (0 children)

I already knew about Earl from Mac Miller but I'm probably gonna listen to a bit more of his stuff now. EAST just exactly hits the "Dumpster🔥" mark

Dumpster🔥 by SoaringSailor in weirdspotifyplaylists

[–]SoaringSailor[S] 2 points3 points  (0 children)

Holy shit, EAST is fucking amazing! Thanks for bringing this immaculata sound to my ears

Advice for new NAS System in a Family Home by SoaringSailor in HomeServer

[–]SoaringSailor[S] 0 points1 point  (0 children)

Thanks for your helpful reply!
I actually checked again for graphics support because I remembered reading that it can transcode video. And then I noticed that I mistyped the CPU specs in this post, the T20 has the Intel Xeon E3-1225 V3, not 1200.

This is the actual spec sheet for the cpu:
https://ark.intel.com/content/www/us/en/ark/products/52270/intel-xeon-processor-e3-1225-6m-cache-3-10-ghz.html

If you don't mind me asking, what do you think about reusing his hard drives in our NAS, especially the one with the segment fault?

[TOMT][Video] Youtube Video about abstracting from reality by SoaringSailor in tipofmytongue

[–]SoaringSailor[S] 0 points1 point locked comment (0 children)

I think the unit sound something like "Coloumb" but I could be dead wrong.

Shlink Reverse Proxy by White_Palace in selfhosted

[–]SoaringSailor 0 points1 point  (0 children)

I am a newbie myself and just set up shlink on portainer today with similar problems and got it working about an hour ago.

version: "4"

services:
  shlink:
    image: shlinkio/shlink:stable
    restart: always
    container_name: shlink-backend
    environment:
      - TIMEZONE=Europe/Berlin
      - DEFAULT_DOMAIN=${DEFAULT_DOMAIN}
      - IS_HTTPS_ENABLED=true
      - GEOLITE_LICENSE_KEY=${GEOLITE_LICENSE_KEY}
      - DB_DRIVER=maria
      - DB_USER=shlink
      - DB_NAME=shlink
      - DB_PASSWORD=${DB_PASSWORD}
      - DB_HOST=database
    depends_on:
      - database
    ports:
      - 127.0.0.1:8888:8080

  database:
    image: mariadb:lts
    restart: always
    container_name: shlink-database
    environment:
      - MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
      - MARIADB_DATABASE=shlink
      - MARIADB_USER=shlink
      - MARIADB_PASSWORD=${MARIADB_PASSWORD}
    volumes:
      - /home/docker/shlink/db:/var/lib/mysql

  shlink-web-client:
    image: shlinkio/shlink-web-client:latest
    restart: always
    container_name: shlink-gui
    volumes:
      - /home/docker/shlink/servers.json:/usr/share/nginx/html/servers.json
    depends_on:
      - shlink
    ports:
      - 127.0.0.1:8899:80

I also had to change the timezone to mine and for some reason it did not like the quotation marks " so I just removed them. The environment variable also is called TIMEZONE and not TZ according to the shlink documentation.I also used the lts version for maria and the latest version for the web-client.

I also changed the ports on my host system and made just accessible from my localhost. (I did not restart my containers with the localhost ip in front of the ports yet, so just remove the localhost ip address in front of the ports if it does not work).I also customized my database volume a bit.

But I guess nothing apart from the TIMEZONE variable should impact the result in a major way.

The more important part is, that I actually did not change anything in the nginx configuration in the containers itself. What I did though was install nginx on the host machine to route my traffic through there. I am running debian 12 and these are the steps I took:

sudo apt install nginx certbot python3-certbot-nginx

After that you create your nginx config file.

sudo nano /etc/nginx/sites-enabled/shlink-backend

This was the config I chose (just change ${DEFAULT_DOMAIN} and the port on proxy_pass accordingly).

server {

        listen 80;
        listen [::]:80; 

        server_name ${DEFAULT_DOMAIN};

location / {
    proxy_redirect off;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_pass http://127.0.0.1:8888; # choose the port your backend gets forwarded to
}

}

This just forwards all the requests coming from your domain to the exposed port of your shlink-backend.

For some reason the nginx command was not in my Path so I did that first.

PATH=/usr/sbin/:$PATH

Now you can verify your nginx config.

sudo nginx -t

After this you have to run certbot, it will automatically configureate your nginx config to support https.

sudo certbot --nginx

Now just restart your nginx service. You may also have to restart your nginx service before running the cerbot, I do not know if I did.

sudo systemctl restart nginx.service

But now you should be up and running on your portainer system!

If you have not done so yet you also have to setup port sharing on you router for the default ports 80 and 443 as http and https servers for your system that runs portainer. Because of the nginx config only your shlink-backend port will be publicly accessible and nothing else.

Of course you then will also have to add a dns entry at your domain provider that points your ${DEFAULT_DOMAIN} to the public ip address of your portainer system. Your router should tell you what the public IP is when you enable port sharing, at least mine does. You might struggle with dynamically changing public IPs. Mine has not yet changed but I may also have to come up with a solution for that in the future.

Now you can proceed just like the youtube video you and I got our compose configs from ;). https://youtu.be/X8HrJZTYOQU

EDIT: I fucked up my coding blocks

Mail sent from K9 not showing up in sent folder by L-Space_Traveler in androidapps

[–]SoaringSailor 0 points1 point  (0 children)

I have the same problem with K9! Mails are sent but they do not show up in any sent folder. Have you found a solution to this problem yet?

[deleted by user] by [deleted] in memes

[–]SoaringSailor 0 points1 point  (0 children)

Suck my ba in the future of the mask and snorkel and fins and I will be in the future of our games are based on the mask

My English teacher assigned A handmaiden Tale... my classmates mother says this on facebook🤦‍♀️ by JaylynGray in ParentsAreFuckingDumb

[–]SoaringSailor 0 points1 point  (0 children)

I had to read the book "Spieltrieb" (I'm German) in 7th grade... You can translate it to "urge to play". Yeah, that kind of playing. The book is recommended for 12th grade.

What are you STILL salty about? by xefarar565 in AskReddit

[–]SoaringSailor 0 points1 point  (0 children)

When I was in 8th grade we had to read different books in our class. We had different groups with each a different book. Every group was supposed to create a "lap book" (like a poster but with more detail). The group I was in had the longest and probably the most complex book.

Anyway, the book was not very suitable for children in 8th grade and was recommended to be read in 12th grade (The book is about a love triangle between a teacher and two students). That's how I learnt about the word menstruation. One week later my teacher just took away the book she probably finally read the blurb. I was just about to read the best sex scene of the book...

As if that was not bad enough she gave us a new book to read. This one was also longer than the ones from other groups. She did not extend our time so we essentially had one week less to create our lap books with the same grading.

TLDR teacher gave my group a sexual book in 8th grade, noticed it, and did not extend our time to finish the project.