kaizoku: Server returns empty response

I spun this up with Docker, and cannot do anything with it. curl returns this

$ curl http://localhost:3000
curl: (52) Empty reply from server

I kept the docker-compose.yaml you did (and renamed the containers), set PUID and PGID to 0. My docker-compose.yaml includes

services:
  kaizoku:
    image: ghcr.io/oae/kaizoku
    container_name: kaizoku
    hostname: kaizoku
    environment:
      DATABASE_URL: "postgresql://kaizoku:kaizoku@kaizoku-db:5432/kaizoku"
      KAIZOKU_PORT: 3000
      REDIS_HOST: kaizoku-redis
      REDIS_PORT: 6379
      PUID: 0
      PGID: 0
      TZ: Europe/Istanbul
    volumes:
      - ${DOCKER}/kaizoku/data:/data
      - ${DOCKER}/kaizoku/config:/config
      - ${DOCKER}/kaizoku/logs:/logs
    depends_on:
      kaizoku-db:
        condition: service_healthy
      kaizoku-redis:
        condition: service_started
    ports:
      - 3000:3000
    networks:
      kaizoku:
  
  kaizoku-redis:
    image: redis:7-alpine
    container_name: kaizoku-redis
    hostname: kaizoku-redis
    volumes:
      - ${DOCKER}/kaizoku-redis:/data
    networks:
      kaizoku:
      
  kaizoku-db:
    image: postgres:alpine
    container_name: kaizoku-db
    hostname: kaizoku-db
    healthcheck:
      test: ['CMD-SHELL', 'pg_isready -U kaizoku']
      interval: 5s
      timeout: 5s
      retries: 5
    environment:
      POSTGRES_USER: kaizoku
      POSTGRES_DB: kaizoku
      POSTGRES_PASSWORD: kaizoku
    volumes:
      - ${DOCKER}/kaizoku-db:/var/lib/postgresql/data
    networks:
      kaizoku:

networks:
  kaizoku:
    ipam:
      config:
        - subnet: 192.168.21.0/24

My logs show nothing wrong

$ docker logs kaizoku
[custom-init] No custom services found, skipping...
[migrations] started
[migrations] no migrations found
cont-init: info: running /etc/cont-init.d/40-config

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    0
User gid:    0
-------------------------------------

yarn run v1.22.19
$ /app/node_modules/.bin/prisma migrate deploy
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "kaizoku", schema "public" at "kaizoku-db:5432"

1 migration found in prisma/migrations


No pending migrations to apply.
Done in 2.45s

Any idea what Iā€™m doing wrong?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (15 by maintainers)

Most upvoted comments

Feel free to open this issue again if the problem persists.

Thank you so much, I will test it when the image is released! šŸ˜ƒ