Awesome! I’m glad that it worked. It took me a while to figure out, when it happened to me. Glad that I could make your life easier :)
Awesome! I’m glad that it worked. It took me a while to figure out, when it happened to me. Glad that I could make your life easier :)
I’ve fixed the same issue for me.
Originally I had this in my Local DNS settings in my Pi-Hole:
- service1.domain 10.0.0.4
- service2.domain 10.0.0.4
- service3.domain 10.0.0.5
I changed that to this:
- host1.domain 10.0.0.4
- host2.domain 10.0.0.4
And then I added CNAME Records to the services like this:
- service1.domain host1.domain
- service2.domain host1.domain
- service3.domain host2.domain
This fixed the whole thing for me :)
Edit: Gonna add some more info
The trick that makes this work, and probably will for you too, and allow you to keep your HTTPS queries, is that Pi Hole will just not ask upstream, if it has the DNS name in the CNAME records. Those CNAME records will have to point to a domain, that Cloudflare doesn’t know about. That way there is no other records upstream that will confuse the DNS server and your browser.
The hostname you have in your local DNS records that your CNAME points to, will be something only known locally for you.
You should change to use cname in pihole. I will write up on my computer later for you.
Try with nslookup and see if you’re resolving the domain to both your local ipv4 address, and the Cloudflare ipv6 at the same time. I am using pihole for my local DNS, and it would give me both my local address, and also the Cloudflare ipv6 address.
Edit
My pihole will ask upstream even if the domain was listed locally. It doesn’t ask Upstream for cname.
Any chance you are both accessing your services locally with a local DNS, and publicly with something like Cloudflare?
Hmm. I would think so. But I haven’t actually checked. That was my thought.
Temp files for transcoding. No need to hit the disk.
This is how mine works, with a Nvidia GPU
services:
jellyfin:
volumes:
- jellyfin_config:/config
- jellyfin_cache:/cache
- type: tmpfs
target: /cache/transcodes
tmpfs:
size: 8G
- media:/media
image: jellyfin/jellyfin:latest
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids:
- "0"
capabilities:
- gpu
I have tries the same on Ubuntu. It was also the desktop that had gotten removed, because if pipewire. Silly computer.
No. You can leave that out. That was just me showing you that it runs on my machine, with that setup. Just bind the port instead.
Your passwords for the database does not match.
But the error is about it not being able to reach the database on the hostname.
I can run it with this compose file:
services:
jellystat-db:
image: postgres:16-alpine
container_name: jellystat-db
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- jellystat
jellystat:
image: cyfershepard/jellystat:latest
container_name: jellystat
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: ${JWT_SECRET}
TZ: Europe/Paris # timezone (ex: Europe/Paris)
JS_BASE_URL: /
volumes:
- jellystat-backup-data:/app/backend/backup-data
depends_on:
- jellystat-db
networks:
- traefik
- jellystat
labels:
- traefik.enable=true
- traefik.docker.network=traefik
- traefik.http.routers.jellystat.entrypoints=https
- traefik.http.routers.jellystat.rule=Host(`${HOSTNAME}`)
- traefik.http.routers.jellystat.tls.certresolver=http
- traefik.http.routers.jellystat.service=jellystat
- traefik.http.services.jellystat.loadbalancer.server.port=3000
- traefik.http.services.jellystat.loadbalancer.server.scheme=http
networks:
jellystat: {}
traefik:
external: true
volumes:
postgres-data: null
jellystat-backup-data: null
In the same place as you run your docker compose up
command you just type docker compose logs
There will probably be something in the logs that tells you what is going wrong. Maybe it can’t connect to the db, or maybe it’s starting on a wrong port or something.
Uh! They should use AI for it. That will be great! /s
They have a docker-compose.yml
file in the repo. It looks like it has everything all ready for you.
Probably a non-issue for this use case then. A relatively cheap Lenovo for programming, would not be too old to have a decent wifi card already in it. Even the pretty old ones I got for my kids have decent wifi cards, some even 4g. No issues at all with running Linux.
I have a bunch of used ThinkPads. Whats that blacklist thing? Never heard of it 🤔
I am running OCIS on a Raspberry Pi at home. I like it. The Android app is not the best, but you dont need that.
I don’t see how his, very reasonable, views makes Linux itself (more?) political. What is the point of this post?
It was in a subfolder. Probably a mistake.
GPL
https://github.com/neuromorph/openbar/blob/main/openbar%40neuromorph/LICENSE