Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hetzner VPS is not visible in server tab (with Coolify) #147

Open
elibolonur opened this issue Jan 14, 2025 · 0 comments
Open

Hetzner VPS is not visible in server tab (with Coolify) #147

elibolonur opened this issue Jan 14, 2025 · 0 comments

Comments

@elibolonur
Copy link

elibolonur commented Jan 14, 2025

Hi, as the title claims; my hetzner VPS is not visible in server tab even report show success.

I have installed Tianji through a docker compose on a Coolify instance. Here is an example of my docker compose file:

version: '3.8'
services:
  tianji:
    image: 'moonrailgun/tianji:latest'
    ports:
      - '12354:12345'
    environment:
      DATABASE_URL: 'postgresql://tianji:tianji@postgres:5432/tianji'
      JWT_SECRET: super_secret
      ALLOW_REGISTER: 'false'
      ALLOW_OPENAPI: 'true'
      OPENAI_API_KEY: super_secret
    depends_on:
      postgres:
        condition: service_healthy
    networks:
      - tianji_network
    restart: always
  postgres:
    image: 'postgres:15.4-alpine'
    environment:
      POSTGRES_DB: tianji
      POSTGRES_USER: tianji
      POSTGRES_PASSWORD: super_secret
    ports:
      - '5440:5432'
    volumes:
      - 'tianji-db-data:/var/lib/postgresql/data'
    networks:
      - tianji_network
    restart: always
    healthcheck:
      test:
        - CMD-SHELL
        - 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}'
      interval: 15s
      timeout: 5s
      retries: 5
volumes:
  tianji-db-data: null
networks:
  tianji_network:
    driver: bridge

I have read on the docs that it may be related to reverse proxy, however not sure if Coolify is using nginx internally. There is a way to configure Traefik/Caddy. Since Tianji is not available yet, I tried with a compose file, however I am not sure what I should include there for adding websocket to reverse proxy. Not really sure if that is the problem either.

image
Screenshot 2025-01-14 at 21 41 09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant