yzob/xyna-server

By yzob

Updated about 17 hours ago

Standalone Xyna Factory Server

Image
Languages & frameworks
Developer tools
0

10K+

yzob/xyna-server repository overview

Base image for the xyna image without Pythons SimpleHTTPRequestHandler and the Xyna Factory Modeller. To be used with e.g. xyna-modeller

Example docker-compose.yml

name: yzob
services:
   mariadb:
    image: mariadb:latest
    restart: unless-stopped
    environment:
      - MYSQL_DATABASE=xyna
      - MYSQL_USER=xyna
      - MYSQL_ROOT_PASSWORD=db_root_pwd
      - MYSQL_PASSWORD=xyna_db_pwd
    expose:
      - 3306
    healthcheck:
      test: ["CMD-SHELL", "mariadb -h mariadb -u $$MYSQL_USER -p$$MYSQL_PASSWORD $$MYSQL_DATABASE -e 'select 1;'"]
      interval: 5s
      timeout: 3s
      retries: 6
      start_period: 5s
   xyna:
    image: yzob/xyna-server:latest
    environment:
      - DONT_USE_H2DB=true
      - DB_JDBC_URL=//mariadb:3306/xyna
      - DB_USER=xyna
      - DB_PASSWORD=xyna_db_pwd
    expose:
      - 4245
    healthcheck:
      test: "echo -n $$'status\x1D\x1D\x04' | nc 127.0.0.1 4242 2>&1 | grep -q ENDOFSTREAM_STATUS_UP_AND_RUNNING"
      interval: 1s
      timeout: 5s
      retries: 60
      start_period: 180s
    depends_on:
      mariadb:
        condition: service_healthy
   modeller:
    image: yzob/xyna-modeller:latest
    restart: unless-stopped
    environment:
      - MODELLER_PORT=8000
      - MODELLER_HOSTNAME="xyna"
      - GUIHTTP_URL="http://xyna:4245"
      - GUIHTTP_COOKIE_FLAGS="off"
      - RESOLVER="127.0.0.11"
    ports:
      - 8000:8000
    depends_on:
      - xyna

Tag summary

Content type

Image

Digest

sha256:fe0aed3c1

Size

332.4 MB

Last updated

about 17 hours ago

docker pull yzob/xyna-server:v10.8.0.0