boot2docker start
docker --tls build -t=anthracite .
docker --tls run -e ELASTICSEARCH_HOSTNAME=your-es-host.com anthracite
Last active
January 8, 2017 00:46
-
-
Save petemounce/825a022431a1504fcbe0 to your computer and use it in GitHub Desktop.
docker hackday
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
import os | |
listen_host = '0.0.0.0' # defaults to "all interfaces" | |
listen_port = 8081 | |
opsreport_start = '01/01/2013 12:00:00 AM' | |
timezone = "UTC" | |
es_url = 'http://' + os.environ['ELASTICSEARCH_HOSTNAME'] + ':9200' | |
es_index = 'anthracite-docker-hacks' | |
recommended_tags = [ | |
] | |
from model import Attribute | |
extra_attributes = [ | |
] | |
helptext = { | |
} | |
plugins = [] |
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
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get -y install curl wget git vim python python-pip python-dev | |
# Install anthracite | |
RUN git clone --recursive https://github.com/Dieterbe/anthracite.git /opt/anthracite | |
add ./config.py /opt/anthracite/config.py | |
EXPOSE 8081 | |
CMD ["python", "/opt/anthracite/anthracite-web.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment