Index: src/mapservice/server_impl/Config.py
===================================================================
--- src/mapservice/server_impl/Config.py	(revision ae2ff15d6963a93c67e87e175ea31292b8bb3d28)
+++ src/mapservice/server_impl/Config.py	(revision a249e2d63e72db810dc3183992d7cc1895ce1cae)
@@ -63,4 +63,6 @@
 class ProductionConfig(Config):
 	SQLALCHEMY_DATABASE_URI = 'mysql://gnuboat:gnuboat@localhost/gnuboat_mapservice'
+	# TEMPLATE_FOLDER could be used to use own templates residing in TEMPLATE_FOLDER
+	TEMPLATE_FOLDER='/usr/share/gnuboat/templates'
 
 class DevelopmentConfig(Config):
Index: src/mapservice/server_impl/__init__.py
===================================================================
--- src/mapservice/server_impl/__init__.py	(revision ae2ff15d6963a93c67e87e175ea31292b8bb3d28)
+++ src/mapservice/server_impl/__init__.py	(revision a249e2d63e72db810dc3183992d7cc1895ce1cae)
@@ -65,8 +65,13 @@
 	return render_template('index.html')
 
-def setup_app(app_name, config):
+def setup_app(app_name, config, template_folder = None):
 	application.json_encoder = encoder.JSONEncoder
 	app.add_api('openapi.yaml', arguments={'title': app_name}, validate_responses=True, strict_validation=True, validator_map={'response': ValidatorWorkaround})
 	application.config.from_object(config)
+	
+	if 'TEMPLATE_FOLDER' in application.config:
+		application.template_folder = application.config['TEMPLATE_FOLDER']
+	elif template_folder:
+		application.template_folder = template_folder
 
 	db.init_app(application)
