All Projects → alexanderkiel → Datomic Free

alexanderkiel / Datomic Free

Licence: other
Dockerfile for the Database Datomic Free Edition

Programming Languages

shell
77523 projects

Datomic Free Edition

Docker Pulls Image Layers

Non-official Docker image for Datomic Free Edition based on the official Java Image.

The use of Datomic Free Edition is governed by the terms of the Datomic Free Edition License which you can find here. By using this Docker image, you are agreeing to those terms.

Usage

To start a container with Docker running at localhost, the following command is sufficient

docker run -d -e ADMIN_PASSWORD="admin" -e DATOMIC_PASSWORD="datomic" -p 4334-4336:4334-4336 --name datomic-free akiel/datomic-free

You can access your databases through this URIs

datomic🆓//localhost:4334/<DB_NAME>?password=datomic

If your Docker host differs from localhost, you have to specify the hostname or IP through the environment variable ALT_HOST

docker run -d -e ADMIN_PASSWORD="admin" -e DATOMIC_PASSWORD="datomic" -p 4334-4336:4334-4336 -e ALT_HOST=<DOCKER_HOST> --name datomic-free akiel/datomic-free

and access your databases through the URIs

datomic🆓//<DOCKER_HOST>:4334/<DB_NAME>?password=datomic

The image exposes two volumes, one /data and one /log volume. If you give your containers names like in the commands above, you don't have to bind something to the /data volume. Your data will be preserved over container restarts. But it is recommended to use a volume container or host directory as described in Managing Data in Containers.

To change the passwords you can do it through the environment variables ADMIN_PASSWORD_OLD and DATOMIC_PASSWORD_OLD

docker run -d -e ADMIN_PASSWORD_OLD="admin" -e ADMIN_PASSWORD="admin-new" -e DATOMIC_PASSWORD_OLD="datomic" -e DATOMIC_PASSWORD="datomic-new" -p 4334-4336:4334-4336 --name datomic-free akiel/datomic-free

In order to disable SSL between the peers and the transactor, set ENCRYPT_CHANNEL to false.

In order to change the default memory settings of -Xms1g and -Xmx1g, use the environment variables XMS and XMX. You can also use JAVA_OPTS to set other Java options.

Specific Versions

To run a specific version of Datomic, you can use tags. The following images are available:

  • akiel/datomic-free:0.9.5703-3 (#16, updated OpenJDK base image)
  • akiel/datomic-free:0.9.5703-2 (updated OpenJDK base image)
  • akiel/datomic-free:0.9.5703-1 (fixes remote access and volumes)
  • akiel/datomic-free:0.9.5703 (broken remote access)
  • akiel/datomic-free:0.9.5697
  • akiel/datomic-free:0.9.5656
  • akiel/datomic-free:0.9.5651
  • akiel/datomic-free:0.9.5561.62
  • akiel/datomic-free:0.9.5561.59
  • akiel/datomic-free:0.9.5561.56
  • akiel/datomic-free:0.9.5561.54
  • akiel/datomic-free:0.9.5561.50
  • akiel/datomic-free:0.9.5561
  • akiel/datomic-free:0.9.5554
  • akiel/datomic-free:0.9.5544
  • akiel/datomic-free:0.9.5530
  • akiel/datomic-free:0.9.5407
  • akiel/datomic-free:0.9.5404
  • akiel/datomic-free:0.9.5394
  • akiel/datomic-free:0.9.5390
  • akiel/datomic-free:0.9.5385
  • akiel/datomic-free:0.9.5372
  • akiel/datomic-free:0.9.5359
  • akiel/datomic-free:0.9.5350
  • akiel/datomic-free:0.9.5344
  • akiel/datomic-free:0.9.5327
  • akiel/datomic-free:0.9.5302
  • akiel/datomic-free:0.9.5206
  • akiel/datomic-free:0.9.5201
  • akiel/datomic-free:0.9.5198
  • akiel/datomic-free:0.9.5186
  • akiel/datomic-free:0.9.5173
  • akiel/datomic-free:0.8.3814
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].