implemented so many things...
This commit is contained in:
1 parent
fd843a5425
commit
bce64fc8f6
24 files changed
+734
-59
No files matched your search
@@ -0,0 +1,32 @@
|
||||
FROM openjdk:11-jdk
|
||||
MAINTAINER Didier Amyot <didier.amyot@gmail.com>
|
||||
|
||||
ENV DATOMIC_VERSION 0.9.5656
|
||||
|
||||
ADD https://my.datomic.com/downloads/free/${DATOMIC_VERSION} /tmp/datomic.zip
|
||||
|
||||
RUN unzip /tmp/datomic.zip && rm /tmp/datomic.zip
|
||||
|
||||
WORKDIR datomic-free-${DATOMIC_VERSION}
|
||||
|
||||
RUN cp config/samples/free-transactor-template.properties transactor.properties
|
||||
|
||||
ADD https://clojars.org/repo/slingshot/slingshot/0.12.2/slingshot-0.12.2.jar /tmp/slingshot-0.12.2.jar
|
||||
RUN mv /tmp/slingshot-0.12.2.jar lib/
|
||||
|
||||
RUN sed "s/host=localhost/host=0.0.0.0/" -i transactor.properties
|
||||
|
||||
RUN mkdir /data
|
||||
RUN sed "s/# data-dir=data/data-dir=\/data/" -i transactor.properties
|
||||
VOLUME /data
|
||||
|
||||
RUN mkdir /log
|
||||
RUN sed "s/# log-dir=log/log-dir=\/log/" -i transactor.properties
|
||||
VOLUME /log
|
||||
|
||||
ADD start.sh ./
|
||||
RUN chmod +x start.sh
|
||||
|
||||
EXPOSE 4334 4335 4336
|
||||
|
||||
CMD ["./start.sh"]
|
||||
Reference in new issue
Block a user