private fork from github
This commit is contained in:
commit
ddcacca5c3
37 changed files with 5748 additions and 0 deletions
60
static/pathfinder/environment.ini
Normal file
60
static/pathfinder/environment.ini
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
; Environment Config
|
||||
|
||||
[ENVIRONMENT]
|
||||
; project environment (DEVELOP || PRODUCTION).
|
||||
; This effects: DB connection, Mail-Server, SSO, ESI configurations in this file
|
||||
; configuration below
|
||||
SERVER = PRODUCTION
|
||||
|
||||
[ENVIRONMENT.PRODUCTION]
|
||||
; path to index.php (Default: leave blank == "auto-detect")
|
||||
; -> e.g. set /pathfinder if your URL looks like https://www.[YOUR_DOMAIN]/pathfinder (subfolder)
|
||||
BASE =
|
||||
; deployment URL (e.g. https://www.pathfinder-w.space)
|
||||
URL = {{@SCHEME}}://$DOMAIN
|
||||
; level of debug/error stack trace
|
||||
DEBUG = 0
|
||||
; Pathfinder database
|
||||
DB_PF_DNS = mysql:host=${CONTAINER_NAME}db;port=3306;dbname=
|
||||
DB_PF_NAME = pf
|
||||
DB_PF_USER = root
|
||||
DB_PF_PASS = $MYSQL_PASSWORD
|
||||
|
||||
; Universe data (New Eden) cache DB for ESI API respons
|
||||
DB_UNIVERSE_DNS = mysql:host=${CONTAINER_NAME}db;port=3306;dbname=
|
||||
DB_UNIVERSE_NAME = eve_universe
|
||||
DB_UNIVERSE_USER = root
|
||||
DB_UNIVERSE_PASS = $MYSQL_PASSWORD
|
||||
|
||||
|
||||
; EVE-Online CCP Database export
|
||||
DB_CCP_DNS = mysql:host=${CONTAINER_NAME}db;port=3306;dbname=
|
||||
DB_CCP_NAME = eve_lifeblood_min
|
||||
DB_CCP_USER = root
|
||||
DB_CCP_PASS = $MYSQL_PASSWORD
|
||||
|
||||
; CCP SSO
|
||||
CCP_SSO_URL = https://login.eveonline.com
|
||||
CCP_SSO_CLIENT_ID = $CCP_SSO_CLIENT_ID
|
||||
CCP_SSO_SECRET_KEY = $CCP_SSO_SECRET_KEY
|
||||
CCP_SSO_DOWNTIME = 11:00
|
||||
|
||||
; CCP ESI API
|
||||
CCP_ESI_URL = https://esi.evetech.net
|
||||
CCP_ESI_DATASOURCE = tranquility
|
||||
CCP_ESI_SCOPES = $CCP_ESI_SCOPES
|
||||
CCP_ESI_SCOPES_ADMIN =
|
||||
|
||||
; SMTP settings (optional)
|
||||
SMTP_HOST = localhost
|
||||
SMTP_PORT = 25
|
||||
SMTP_SCHEME = TLS
|
||||
SMTP_USER =
|
||||
SMTP_PASS =
|
||||
|
||||
SMTP_FROM = registration@pathfinder-w.space
|
||||
SMTP_ERROR = admin@pathfinder-w.space
|
||||
|
||||
; TCP Socket configuration (optional) (advanced)
|
||||
SOCKET_HOST = ${CONTAINER_NAME}-socket
|
||||
SOCKET_PORT = 5555
|
||||
27
static/pathfinder/routes.ini
Normal file
27
static/pathfinder/routes.ini
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
; Route config
|
||||
|
||||
[routes]
|
||||
; DB setup setup
|
||||
; IMPORTANT: remove/comment this line after setup/update is finished!
|
||||
GET @setup: /setup [sync] = {{ @NAMESPACE }}\Controller\Setup->init
|
||||
; login (index) page
|
||||
GET @login: / [sync] = {{ @NAMESPACE }}\Controller\AppController->init
|
||||
; CCP SSO redirect
|
||||
GET @sso: /sso/@action [sync] = {{ @NAMESPACE }}\Controller\Ccp\Sso->@action
|
||||
; map page
|
||||
GET @map: /map* [sync] = {{ @NAMESPACE }}\Controller\MapController->init
|
||||
; admin panel
|
||||
GET @admin: /admin* [sync] = {{ @NAMESPACE }}\Controller\Admin->dispatch
|
||||
|
||||
; AJAX API wildcard endpoints (not cached, throttled)
|
||||
GET|POST /api/@controller/@action [ajax] = {{ @NAMESPACE }}\Controller\Api\@controller->@action, 0, 512
|
||||
GET|POST /api/@controller/@action/@arg1 [ajax] = {{ @NAMESPACE }}\Controller\Api\@controller->@action, 0, 512
|
||||
GET|POST /api/@controller/@action/@arg1/@arg2 [ajax] = {{ @NAMESPACE }}\Controller\Api\@controller->@action, 0, 512
|
||||
|
||||
; onUnload route or final map sync (@see https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon)
|
||||
POST /api/Map/updateUnloadData = {{ @NAMESPACE }}\Controller\Api\Map->updateUnloadData, 0, 512
|
||||
|
||||
[maps]
|
||||
; REST API wildcard endpoints (not cached, throttled)
|
||||
/api/rest/@controller* [ajax] = {{ @NAMESPACE }}\Controller\Api\Rest\@controller, 0, 512
|
||||
/api/rest/@controller/@id [ajax] = {{ @NAMESPACE }}\Controller\Api\Rest\@controller, 0, 512
|
||||
Loading…
Add table
Add a link
Reference in a new issue