{"id":24505144,"url":"https://github.com/levigo/jadice-server-docker","last_synced_at":"2025-03-15T08:32:15.981Z","repository":{"id":146442064,"uuid":"81840998","full_name":"levigo/jadice-server-docker","owner":"levigo","description":"Dockerfile for building a docker image containing the levigo jadice server","archived":false,"fork":false,"pushed_at":"2022-10-11T14:03:21.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-04T13:46:13.191Z","etag":null,"topics":["docker","jadice-server","levigo"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-13T15:39:25.000Z","updated_at":"2022-10-11T14:03:26.000Z","dependencies_parsed_at":"2023-04-04T00:18:59.736Z","dependency_job_id":null,"html_url":"https://github.com/levigo/jadice-server-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fjadice-server-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fjadice-server-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fjadice-server-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Fjadice-server-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levigo","download_url":"https://codeload.github.com/levigo/jadice-server-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707282,"owners_count":20334613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","jadice-server","levigo"],"created_at":"2025-01-21T23:28:50.775Z","updated_at":"2025-03-15T08:32:15.955Z","avatar_url":"https://github.com/levigo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# levigo _jadice server_ Docker Container\r\n\r\n![jadice server \u0026 docker](js_docker.jpeg)\r\n\r\n# Table of Contents\r\n1. [Introduction](#introduction)\r\n1. [Requirements](#requirements)\r\n1. [Environment variables](#environment-variables)\r\n1. [Configuration](#configuration)\r\n1. [Logging](#logging)\r\n1. [docker-compose](#docker-compose)\r\n\r\n## Introduction\r\nThis repository contains a `Dockerfile` for building a docker image containing the levigo [_jadice server_](https://jadice.com/produkte/server/).\r\nIt is provided \"as is\", see [LICENSE.md](https://github.com/levigo/jadice-server-docker/blob/master/LICENSE.md).\r\nThe image is based on [openjdk:11.0.8-jre-buster](https://hub.docker.com/_/openjdk).\r\n\r\n## Requirements\r\n* You need version 5.8.0.0 or newer of the _jadice server_ distribution to use _jadice server_ in a docker container with Java 11.\r\nFor more information on how to get the _jadice server_ distribution visit [jadice.com](https://www.jadice.com).\r\n* docker-engine 17.06 or newer is required for building and running the Image.\r\n* docker-compose version 1.16.0 or newer for the use of docker-compose.yml.\r\n* For running jadice-server with Java 8 you can checkout the branch _java8_. This requires version 5.5 or newer of the _jadice server_ distribution.\r\n\r\n## Building the Image\r\n* Copy the _jadice server_ distribution zip into the resources directory.\r\n* Apply customization if needed (see [Configuration](#configuration))\r\n* Run:\r\n```sh\r\ndocker build -t=\u003cimage-name\u003e .\r\ndocker run -p 61616:61616 \u003cimage-name\u003e\r\n```\r\n## Environment variables\r\n_jadice server_ evaluates the following environment variables during start.\r\n\r\n- `spring.profiles.active` - active features for jadice server (see also `\u003cjadice-server-dir\u003e/server-config/application/active-features.xml`)\r\n- `jadice.server.activemq-host` - set the Apache ActiveMQ broker host (by default _jadice server_ starts its own broker on localhost)\r\n\r\n\r\n\r\n## Configuration\r\nIn order to customize the configuration of _jadice server_ you need to copy your existing configuration into the subfolder `customization`. The docker build will copy all files into the directory `\u003cjadice-server-dir\u003e/` inside the container.\r\n\r\n## Logging\r\nThere are two ways to access the logs from _jadice server_:\r\n\r\n- mount an extra volume for log files\r\n- use the docker logging driver\r\n\r\n_jadice server_ writes logs by default to `\u003cjadice-server-dir\u003e/logs`. To access the log files, mount some directory from the host and _jadice server_ will write the files in the host's file system.\r\n```sh\r\ndocker run -v \u003chost-path\u003e:/opt/jadice-server/logs \u003cimages-name\u003e\r\n```\r\nAlso the logs are available over the docker logs functionality.\r\n\r\n## docker-compose\r\nThe `docker-compose.yml` shows an example implementation of the [Compose](https://docs.docker.com/compose/compose-file/compose-file-v2/) file for _jadice server_.\r\nThe docker-compose file defines three services:\r\n\r\n- js-amq - a _jadice server_ instance with only the embedded-broker activated\r\n- js-convert - a convert instance of _jadice server_\r\n- js-webservice - the webservice entrypoint\r\n\r\ndocker-compose.yml uses the [environment variables](#environment-variables) to configure the active features for _jadice server_ instances.\r\nAll three services connect together over the js-amq instance. To submit jobs to the _jadice server_ you can either use the webservice interface or the default JMS interface. Both submit jobs to the JMS request queue which is consumed by the js-convert instance.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Fjadice-server-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevigo%2Fjadice-server-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Fjadice-server-docker/lists"}