[devcontainer] fix user creation
This commit is contained in:
parent
7bc8459cda
commit
535a6f30c1
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"updateContentCommand": "composer install",
|
"updateContentCommand": "composer install",
|
||||||
"postCreateCommand": "php ./.docker/run.php",
|
"postCreateCommand": "./.docker/entrypoint.sh php ./.docker/run.php",
|
||||||
"containerEnv": {
|
"containerEnv": {
|
||||||
"UID": "2000",
|
"UID": "2000",
|
||||||
"GID": "2000",
|
"GID": "2000",
|
||||||
|
|
|
@ -8,8 +8,8 @@ chown('/app/data', 'shimmie');
|
||||||
chgrp('/app/data', 'shimmie');
|
chgrp('/app/data', 'shimmie');
|
||||||
|
|
||||||
// Look at docker environment variables
|
// Look at docker environment variables
|
||||||
$MAX_FILE_UPLOADS = getenv('MAX_FILE_UPLOADS') ?: "20";
|
$MAX_FILE_UPLOADS = getenv('MAX_FILE_UPLOADS') ?: "100";
|
||||||
$UPLOAD_MAX_FILESIZE = getenv('UPLOAD_MAX_FILESIZE') ?: '20M';
|
$UPLOAD_MAX_FILESIZE = getenv('UPLOAD_MAX_FILESIZE') ?: '100M';
|
||||||
$MAX_TOTAL_UPLOAD = ini_parse_quantity($UPLOAD_MAX_FILESIZE) * intval($MAX_FILE_UPLOADS);
|
$MAX_TOTAL_UPLOAD = ini_parse_quantity($UPLOAD_MAX_FILESIZE) * intval($MAX_FILE_UPLOADS);
|
||||||
|
|
||||||
// Generate a config file for whatever web server we are using today
|
// Generate a config file for whatever web server we are using today
|
||||||
|
|
Reference in a new issue