Skip to content

vouch-opensource/datomic-pro-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datomic Pro on Alpine Linux

Datomic Pro Docker container running on Alpine Linux. The base container is JDK-11-alpine by Eclipse Temurin.

Repository

This image is available at Docker Hub

Usage

Building

./build.sh build

Configuration

transactor.properties

You have to configure Datomic by providing a transactor.properties file while running the container. There intentionally is no default config since it depends on the storage backend you intend to use.

data directory

Configure the data directory in transactor.properties and mount it into the container.

Logging

Logging has been setup to log to stdout by default. You can change this behaviour by modifying /opt/datomic/bin/logback.xml

Running

An example for running this container:

GIT_SHA=$(git rev-parse HEAD) ## git SHA of this repo
DATOMIC_VERSION=$(cat DATOMIC_VERSION) ## file with Datomic version
JVM_OPTS="-Xms1g -Xmx2g"
docker run -v $(pwd)/transactor.properties:/etc/datomic/transactor.properties \
  -v $(pwd)/data:/data \
  vouchio/datomic-pro-alpine:$DATOMIC_VERSION-$GIT_SHA \
  sh -c "/opt/datomic/bin/transactor $JVM_OPTS /etc/datomic/transactor.properties"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published