bobslaede

joined 1 year ago
[–] bobslaede@feddit.dk 1 points 3 weeks ago (3 children)

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
[–] bobslaede@feddit.dk 2 points 4 weeks ago (5 children)

In the same place as you run your docker compose up command you just type docker compose logs

[–] bobslaede@feddit.dk 1 points 4 weeks ago (7 children)

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.

[–] bobslaede@feddit.dk 7 points 1 month ago (1 children)

Uh! They should use AI for it. That will be great! /s

[–] bobslaede@feddit.dk 7 points 1 month ago (9 children)

They have a docker-compose.yml file in the repo. It looks like it has everything all ready for you.

[–] bobslaede@feddit.dk 31 points 1 month ago

You get a ThinkPad! And you get a ThinkPad! Everyone gets a ThinkPad! :oprah_wave:

[–] bobslaede@feddit.dk 55 points 1 month ago* (last edited 1 month ago) (6 children)

I have got so many used ThinkPads. Everyone in my house has one.

[–] bobslaede@feddit.dk 30 points 3 months ago

I'm guessing 'Murica

[–] bobslaede@feddit.dk 2 points 4 months ago

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.

[–] bobslaede@feddit.dk 7 points 4 months ago (3 children)

I have a bunch of used ThinkPads. Whats that blacklist thing? Never heard of it 🤔

[–] bobslaede@feddit.dk 12 points 4 months ago* (last edited 4 months ago)

I love it. The kids cheap laptops with Ubuntu are now fully fledged gaming laptops! And a Bluetooth keyboard and mouse, and the cheap tablet is also a gaming computer.
Edit: also wireguard to connect from outside the house.

[–] bobslaede@feddit.dk 13 points 6 months ago

Yeah, pretty much. It's danish btw 🙂

view more: ‹ prev next ›