Index: src/mapservice/codegen/templates/__main__.mustache
===================================================================
--- src/mapservice/codegen/templates/__main__.mustache	(revision 02b893ba0407b4bace7d1c6ea3fc6b7ff99aafc1)
+++ src/mapservice/codegen/templates/__main__.mustache	(revision 096625e75e7638a2de88490a06726a69da65730b)
@@ -6,8 +6,8 @@
 {{/supportPython2}}
 
-from {{packageName}}.server_impl import app, application, mail, celery, setup_app
+from {{packageName}}.server_impl import app, application, mail, celery, setup_app, config_object
 
 def main():
-	setup_app('{{appName}}', 'DevelopmentConfig')
+	setup_app('{{appName}}', config_object)
 	app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}}))
 
Index: src/mapservice/src/server_impl/CeleryWorker.py
===================================================================
--- src/mapservice/src/server_impl/CeleryWorker.py	(revision 02b893ba0407b4bace7d1c6ea3fc6b7ff99aafc1)
+++ src/mapservice/src/server_impl/CeleryWorker.py	(revision 096625e75e7638a2de88490a06726a69da65730b)
@@ -19,5 +19,5 @@
 from sqlalchemy import event
 
-from . import config, app, application, celery, setup_app
+from . import config_object, app, application, celery, setup_app
 from .database.Model import db
 from .tasks import tasks
@@ -59,4 +59,4 @@
 	return celery_app
 
-setup_app('GNUBoat Celery Worker', 'DevelopmentConfig')
+setup_app('GNUBoat Celery Worker', config_object)
 setup_celery(application, celery)
Index: src/mapservice/src/server_impl/Config.py
===================================================================
--- src/mapservice/src/server_impl/Config.py	(revision 02b893ba0407b4bace7d1c6ea3fc6b7ff99aafc1)
+++ src/mapservice/src/server_impl/Config.py	(revision 096625e75e7638a2de88490a06726a69da65730b)
@@ -19,4 +19,14 @@
 from pathlib import Path
 import os
+import yaml
+
+def load_from_file(config_file):
+	config_from_file = yaml.safe_load(open(config_file))
+	config = Config()
+	
+	for entry in config_from_file:
+		setattr(config, entry, config_from_file[entry])
+		
+	return config
 
 class Config(object):
Index: src/mapservice/src/server_impl/__init__.py
===================================================================
--- src/mapservice/src/server_impl/__init__.py	(revision 02b893ba0407b4bace7d1c6ea3fc6b7ff99aafc1)
+++ src/mapservice/src/server_impl/__init__.py	(revision 096625e75e7638a2de88490a06726a69da65730b)
@@ -29,11 +29,16 @@
 from .ValidatorWorkaround import ValidatorWorkaround
 
+def load_config_object(config_name):
+	return import_string('openapi_server.server_impl.Config.{}Config'.format(config_name))
+
 # determine requested configuration
+config_file = '/etc/gnuboat/mapservice.conf'
 if 'FLASK_ENV' in os.environ and os.environ['FLASK_ENV']:
-	config_name = os.environ['FLASK_ENV'].title()
+	config_object = load_config_object(os.environ['FLASK_ENV'].title())
+elif os.path.isfile(config_file):
+	from . import Config as configure
+	config_object = configure.load_from_file(config_file)
 else:
-	config_name = 'Production'
-config_name = 'openapi_server.server_impl.Config.{}Config'.format(config_name)
-config = import_string(config_name)
+	config_object = load_config_object('Production')
 
 app = connexion.App(__name__, specification_dir='../openapi/')
@@ -41,5 +46,5 @@
 CORS(application)
 mail = Mail()
-celery = Celery(__name__, broker=config.CELERY_BROKER_URL)
+celery = Celery(__name__, broker=config_object.CELERY_BROKER_URL)
 
 @application.before_first_request
@@ -61,5 +66,5 @@
 	return render_template('index.html')
 
-def setup_app(app_name, config_name="Config"):
+def setup_app(app_name, config):
 	application.json_encoder = encoder.JSONEncoder
 	app.add_api('openapi.yaml', arguments={'title': app_name}, validate_responses=True, strict_validation=True, validator_map={'response': ValidatorWorkaround})
Index: src/mapservice/src/server_impl/tests/test_config.py
===================================================================
--- src/mapservice/src/server_impl/tests/test_config.py	(revision 096625e75e7638a2de88490a06726a69da65730b)
+++ src/mapservice/src/server_impl/tests/test_config.py	(revision 096625e75e7638a2de88490a06726a69da65730b)
@@ -0,0 +1,50 @@
+'''
+    Copyright (C) 2020 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+'''
+
+import unittest
+import tempfile
+import yaml
+
+from openapi_server.test import BaseTestCase
+from .. import Config
+
+from openapi_server.server_impl import Config
+
+class TestConfig(unittest.TestCase):
+	def test_config_from_file(self):
+		"""Test case load config from file
+		"""
+		new_config = {
+			'TESTING': True,
+			'DOES_NOT_EXISTS': 1234
+		}
+		
+		config = Config.Config()
+		assert config.TESTING == False
+		
+		config_file = tempfile.NamedTemporaryFile(mode='w', prefix='gnuboat-test-config', delete=False)
+		yaml.dump(new_config, config_file, default_flow_style=False, allow_unicode=True)
+		config_file.close()
+		config_file = os.path.join(tempfile.gettempdir(), config_file.name)
+
+		config = Config.load_from_file(config_file)
+		assert config.TESTING == True
+		assert config.DOES_NOT_EXISTS == 1234
+		os.remove(config_file)
+
+if __name__ == '__main__':
+    unittest.main()
