Skip to content

Docker not working on Server? #1710

@MarioFromTheFH

Description

@MarioFromTheFH

I noticed a strange thing.
It is possible to run the SysON-Docker on my local computer but it won't work accessing the web-interface after I ran the docker-compose on a Server.

There's only a blank page in the web-browser. No Error-Message in the docker-logs.

However, in the Javascript-Console there is an error:
Uncaught TypeError: crypto.randomUUID is not a function

Not really sure how to interpret this.

I'm using the unmodified docker-compose.yaml:

version: "3.8"
services:
  database:
    image: postgres:12
    environment:
      POSTGRES_DB: postgres
      POSTGRES_USER: username
      POSTGRES_PASSWORD: password
    networks:
      - syson
  app:
    image: "${IMAGE_TAG:-eclipsesyson/syson:v2024.7.0}"
    ports:
      - "8080:8080"
    environment:
      SPRING_DATASOURCE_URL: jdbc:postgresql://database/postgres
      SPRING_DATASOURCE_USERNAME: username
      SPRING_DATASOURCE_PASSWORD: password
      SIRIUS_COMPONENTS_CORS_ALLOWEDORIGINPATTERNS: "*"
      SERVER_PORT: 8080
    depends_on:
      - database
    networks:
      - syson
networks:
  syson:

Any idea how to debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions