mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-10-08 23:14:52 +00:00
assets
system
config
beta_communiquons.config.php
comunic_io.config.php
dev.config.php
docker.config.php
global.config.php
offline.config.php
tpl
system.php
.gitignore
.htaccess
.travis.yml
Jenkinsfile
LICENSE
README.md
builder
index.php
39 lines
689 B
PHP
39 lines
689 B
PHP
<?php
|
|
/**
|
|
* Docker container build configuration
|
|
*
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
//This configuration is based on the offline configuration
|
|
require_once __DIR__."/offline.config.php";
|
|
|
|
class Docker extends Offline {
|
|
|
|
/**
|
|
* 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 (URL)
|
|
*/
|
|
const ASSETS_URL = self::CONTAINER_URL."assets/";
|
|
} |