forked from mapcentia/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#CKAN | ||
|
||
sudo docker run \ | ||
--rm -i \ | ||
-v ~:/tmp mapcentia/ckan cp /etc/ckan /tmp -R | ||
|
||
sudo docker run \ | ||
--name ckan \ | ||
--restart=always \ | ||
-v ~/ckan:/etc/ckan \ | ||
-p 80:80 \ | ||
-d -t mapcentia/ckan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
FROM java:7-jre | ||
|
||
# Install supervisor | ||
RUN apt-get -y update | ||
RUN apt-get -y install supervisor | ||
FROM java:8-jre | ||
|
||
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4 | ||
|
||
# Elasticsearch | ||
ENV ELASTICSEARCH_VERSION 1.7.1 | ||
|
||
RUN echo "deb http://packages.elasticsearch.org/elasticsearch/${ELASTICSEARCH_VERSION%.*}/debian stable main" > /etc/apt/sources.list.d/elasticsearch.list | ||
ENV ELASTICSEARCH_MAJOR 2.1 | ||
ENV ELASTICSEARCH_VERSION 2.1.1 | ||
ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian | ||
|
||
RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install elasticsearch=$ELASTICSEARCH_VERSION \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION | ||
|
||
# Expose port | ||
EXPOSE 9200 | ||
EXPOSE 9200 9300 | ||
|
||
VOLUME ["/usr/share/elasticsearch", "/var/lib/elasticsearch/data", "/var/log", "/etc/elasticsearch"] | ||
VOLUME ["/usr/share/elasticsearch/data", "/usr/share/elasticsearch/config"] | ||
|
||
CMD ["/usr/share/elasticsearch/bin/elasticsearch"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Solr | ||
|
||
sudo docker run \ | ||
--name solr \ | ||
-p 8983:8983 \ | ||
-d -t mapcentia/solr |