404 when accessing domain blinko without port 1111 #75

Closed
opened 2025-11-22 20:30:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @viandwi24 on GitHub (Jun 14, 2025).

Template Name

blinko

Relevant Logs of the Error

I created an app on Dokploy using the ‘Blinko’ template. After building and deploying it, there were no errors.

However, when I accessed the assigned domain, I encountered a 404 error.

Image

Only after adding port :1111 to the domain was I able to access it.

Image

So, what is wrong with my configuration?

Steps to Reproduce the Error

  1. Deploy the blinko template
  2. Configure the following settings: (use default configuration from template)
  3. Navigate to (assigned domain)
  4. Get 404 Error

Environment Information

Operating System: Ubuntu 24.04 LTS x86_64
Dokploy version: 0.22.7
VPS Provider: Tencet Cloud
Template Version: Latest
Browser: Chrome, Safari.

When does this error occur?

When accessing the application

Additional Context

No response

Will you send a PR to fix it?

Maybe, need help

Originally created by @viandwi24 on GitHub (Jun 14, 2025). ### Template Name blinko ### Relevant Logs of the Error I created an app on Dokploy using the ‘Blinko’ template. After building and deploying it, there were no errors. However, when I accessed the assigned domain, I encountered a 404 error. <img width="734" alt="Image" src="https://github.com/user-attachments/assets/dd507e07-4c1f-49e9-9f3d-bce3e5fbcb09" /> Only after adding port :1111 to the domain was I able to access it. <img width="893" alt="Image" src="https://github.com/user-attachments/assets/43da8cc4-5f24-4be0-a740-b80f866fd19c" /> So, what is wrong with my configuration? ### Steps to Reproduce the Error 1. Deploy the blinko template 2. Configure the following settings: (use default configuration from template) 3. Navigate to (assigned domain) 4. Get 404 Error ### Environment Information ```bash Operating System: Ubuntu 24.04 LTS x86_64 Dokploy version: 0.22.7 VPS Provider: Tencet Cloud Template Version: Latest Browser: Chrome, Safari. ``` ### When does this error occur? When accessing the application ### Additional Context _No response_ ### Will you send a PR to fix it? Maybe, need help
GiteaMirror added the bug label 2025-11-22 20:30:12 -06:00
Author
Owner

@jakobrosenberg commented on GitHub (Jul 27, 2025):

I ran into two issues.

  • 404:
    Fix: Commented out the healthcheck section.
    (Healthcheck is using curl, but only wget is available in the container.)

  • Missing containers under [project] > blinko > General > >_ Open Terminal
    Fix: Commented out the container names

version: "3.8"

services:
  blinko-website:
    image: blinkospace/blinko:latest
    #container_name: blinko-website
    environment:
      NODE_ENV: production
      NEXTAUTH_SECRET: ${nextauth_secret}
      DATABASE_URL: postgresql://postgres:${postgres_password}@blinko-postgres:5432/postgres
      NEXTAUTH_URL: ${nextauth_url}
      NEXT_PUBLIC_BASE_URL: ${next_public_base_url}
    depends_on:
      blinko-postgres:
        condition: service_healthy
    restart: always
    logging:
      options:
        max-size: "10m"
        max-file: "3"
    ports:
      - 1111:1111
    # healthcheck:
    #   test: ["CMD", "curl", "-f", "http://blinko-website:1111/"]
    #   interval: 30s 
    #   timeout: 10s   
    #   retries: 5     
    #   start_period: 30s 

  blinko-postgres:
    image: postgres:14
    #container_name: blinko-postgres
    restart: always
    environment:
      POSTGRES_DB: postgres
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: ${postgres_password}
      TZ: Asia/Shanghai
    volumes:
      - blinko-db:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"]
      interval: 5s
      timeout: 10s
      retries: 5

volumes:
  blinko-db: {}
@jakobrosenberg commented on GitHub (Jul 27, 2025): I ran into two issues. - **404:** **Fix:** Commented out the `healthcheck` section. (Healthcheck is using `curl`, but only `wget` is available in the container.) - **Missing containers under `[project]` > `blinko` > `General` > `>_ Open Terminal`** **Fix:** Commented out the container names ```yml version: "3.8" services: blinko-website: image: blinkospace/blinko:latest #container_name: blinko-website environment: NODE_ENV: production NEXTAUTH_SECRET: ${nextauth_secret} DATABASE_URL: postgresql://postgres:${postgres_password}@blinko-postgres:5432/postgres NEXTAUTH_URL: ${nextauth_url} NEXT_PUBLIC_BASE_URL: ${next_public_base_url} depends_on: blinko-postgres: condition: service_healthy restart: always logging: options: max-size: "10m" max-file: "3" ports: - 1111:1111 # healthcheck: # test: ["CMD", "curl", "-f", "http://blinko-website:1111/"] # interval: 30s # timeout: 10s # retries: 5 # start_period: 30s blinko-postgres: image: postgres:14 #container_name: blinko-postgres restart: always environment: POSTGRES_DB: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: ${postgres_password} TZ: Asia/Shanghai volumes: - blinko-db:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"] interval: 5s timeout: 10s retries: 5 volumes: blinko-db: {} ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#75