Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Environment Variables #334

Closed
sorvis opened this issue Jan 26, 2018 · 6 comments
Closed

Support Environment Variables #334

sorvis opened this issue Jan 26, 2018 · 6 comments
Labels

Comments

@sorvis
Copy link

sorvis commented Jan 26, 2018

What are the supported environment variables? Is there a wiki page for this or can we start one? If we want to start a wiki page I would be glad to document the variables I know about.

Thank you

@DanielnetoDotCom
Copy link
Member

@sorvis I can start a wiki, But I think you will not be able to edit. we can do that. I will start the variables I can remember here and you can complete or suggest something here. once we have enough information I will transfer for a wiki

On videos/configuration.php file

$global['webSiteRootURL'] = The Installation site URL
$global['systemRootPath'] = The Path for the root

on objects/include_configuration.php file

$global['mysqli'] mysql connection variable

@sorvis
Copy link
Author

sorvis commented Jan 26, 2018

@DanielnetoDotCom

Here are some I had from a docker-compose file I'm trying to create:

DB_HOST=mysql <--verified seem to work
DB_PORT=3306 <--verified seem to work
DB_USER=root <--verified seem to work
DB_PASSWORD=your_db_passwd <--verified seem to work
DOMAIN=localhost
ADMIN_EMAIL=some_email
ADMIN_PASSWORD=test123
LANG=en

I'm a bit dubious about the ADMIN fields because they didn't seem to work. I found them inside of this docker file.

@DanielnetoDotCom
Copy link
Member

@sorvis
I do not know much about docker (but I like the idea).
Also I do not know where those variables came from :(

@sorvis
Copy link
Author

sorvis commented Jan 27, 2018

@DanielnetoDotCom I figured out where those variables came from. They are from @leejoneshane repository. Tonight I forked your repository and I'm going to work on putting in leejoneshane's files then I can write a docker-compose file for them and we can do a pull request then if you wish.

Just to refer back in time I found this issue that leejoneshane originally made: #105

@DanielnetoDotCom
Copy link
Member

@sorvis I will love to do it :)

@stale
Copy link

stale bot commented Feb 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 14, 2019
@stale stale bot closed this as completed Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants