Add wsgi.py and Dockerfile (#187)
* Add a sample wsgi.py * Add a sample Dockerfile making use of wsgi.py * Use 'puppetdb' as default location for PUPPETDB_HOST
This commit is contained in:
committed by
Corey Hammerton
parent
da044271ee
commit
dfaf6daec1
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM grahamdumpleton/mod-wsgi-docker:python-2.7-onbuild
|
||||
CMD [ "wsgi.py" ]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
PUPPETDB_HOST = 'localhost'
|
||||
PUPPETDB_HOST = 'puppetdb'
|
||||
PUPPETDB_PORT = 8080
|
||||
PUPPETDB_SSL_VERIFY = True
|
||||
PUPPETDB_KEY = None
|
||||
|
||||
Reference in New Issue
Block a user