ComunicWeb/system/config/docker.config.php

38 lines
667 B
PHP
Raw Permalink Normal View History

2018-05-08 10:45:46 +00:00
<?php
/**
* Docker container build configuration
*
* @author Pierre HUBERT
*/
2018-05-09 16:37:44 +00:00
//This configuration is based on the offline configuration
require_once __DIR__."/offline.config.php";
class Docker extends Offline {
2018-05-08 10:45:46 +00:00
/**
* Container URL
*/
const CONTAINER_URL = 'http://<?php echo $_SERVER["HTTP_HOST"]; ?>/';
/**
* API access and credentials
*/
const API_URL = self::CONTAINER_URL."api/";
2021-02-13 14:33:17 +00:00
const API_CLIENT_NAME = "client";
2018-05-08 10:45:46 +00:00
/**
* Site URL
*/
const SITE_URL = self::CONTAINER_URL;
/**
* Site production mode
*/
const PROD_MODE = TRUE;
/**
* Path to assets (URL)
*/
2021-02-12 16:06:26 +00:00
const ASSETS_URL = self::CONTAINER_URL."assets/".BUILD_TIME."/";
2018-05-08 10:45:46 +00:00
}