mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Create Docker build configuration
This commit is contained in:
parent
beafe2580a
commit
27401c9070
81
system/config/docker.config.php
Normal file
81
system/config/docker.config.php
Normal file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* Docker container build configuration
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
class Docker {
|
||||
|
||||
/**
|
||||
* Container URL
|
||||
*/
|
||||
const CONTAINER_URL = 'http://<?php echo $_SERVER["HTTP_HOST"]; ?>/';
|
||||
|
||||
/**
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = self::CONTAINER_URL."api/";
|
||||
const API_SERVICE_NAME = "client";
|
||||
const API_SERVICE_TOKEN = "token";
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
*/
|
||||
const SITE_URL = self::CONTAINER_URL;
|
||||
|
||||
/**
|
||||
* Site production mode
|
||||
*/
|
||||
const PROD_MODE = TRUE;
|
||||
|
||||
/**
|
||||
* Path to assets (relative to the build folder)
|
||||
*/
|
||||
const PATH_ASSETS = "assets/";
|
||||
|
||||
/**
|
||||
* Path to assets (URL)
|
||||
*/
|
||||
const ASSETS_URL = self::CONTAINER_URL."assets/";
|
||||
|
||||
/**
|
||||
* Third party CSS files
|
||||
*/
|
||||
const THIRD_PARTY_CSS = "third_party_css.css";
|
||||
|
||||
/**
|
||||
* Third party Javascript files
|
||||
*/
|
||||
const THIRD_PARTY_JS = "third_party.js";
|
||||
|
||||
/**
|
||||
* Third party Javascript files (unminified)
|
||||
*/
|
||||
const THIRD_PARTY_UNMINIFIED_JS = "third_party.unminified.js";
|
||||
|
||||
/**
|
||||
* Application CSS files
|
||||
*/
|
||||
const APP_CSS = "app.css";
|
||||
|
||||
/**
|
||||
* Application JS files
|
||||
*/
|
||||
const APP_JS = "app.js";
|
||||
|
||||
/**
|
||||
* Application JS files (unminifieds)
|
||||
*/
|
||||
const APP_UNMINIFIED_JS = "app.unminified.js";
|
||||
|
||||
/**
|
||||
* Language settings
|
||||
*/
|
||||
const DEFAULT_LANGUAGE = "en";
|
||||
|
||||
/**
|
||||
* Templates settings
|
||||
*/
|
||||
const TEMPLATES_PATH = "templates/";
|
||||
}
|
Loading…
Reference in New Issue
Block a user