Commit 995413c4 authored by Kalinka's avatar Kalinka

more config parameters!

parent d48b33bb
......@@ -30,6 +30,9 @@ OGAME_CACHE_DATABASE_ID=1
OGAME_RATELIMIT_DATABASE_ID=2
OGAME_API_RATELIMIT_PERIOD=60
OGAME_API_RATELIMIT_LIMIT=5
OGAME_API_VERSION='0.9beta'
OGAME_API_TITLE='OGame API Proxy-Server'
OGAME_API_DESCRIPTION='Reverse-Proxy Style APIServer with caching function for OGame'
USE_IMPRINT=0
USE_PRIVACY_POLICY=0
......
nelmio_api_doc:
documentation:
info:
title: OGame API Proxy-Server
description: Reverse-Proxy Style ApiServer with caching function for OGame
version: 0.9
title: '%env(OGAME_API_TITLE)%'
description: '%env(OGAME_API_DESCRIPTION)%'
version: '%env(OGAME_API_VERSION)%'
areas: # to filter documented areas
path_patterns:
- ^/v1 # Accepts routes under /api except /api/doc
......@@ -6,11 +6,17 @@
parameters:
locale: 'en'
env(OGAME_APIKEY): ''
env(OGAME_CACHE_PASSWORD): ''
env(OGAME_REDIS_PASSWORD): ''
env(OGAME_CACHE_DATABASE_ID): '1'
env(OGAME_RATELIMIT_DATABASE_ID): '2'
env(OGAME_API_RATELIMIT_PERIOD): 60
env(OGAME_API_RATELIMIT_LIMIT): 5
env(USE_IMPRINT): 0
env(USE_PRIVACY_POLICY): 0
env(OGAME_API_VERSION): '0.0'
env(OGAME_API_TITLE): 'OGame API Proxy-Server'
env(OGAME_API_DESCRIPTION): 'Reverse-Proxy Style ApiServer with caching function for OGame'
services:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment