Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12241601
setup-phabricator
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
665 B
Referenced Files
None
Subscribers
None
setup-phabricator
View Options
#!/usr/bin/env bash
pushd
/opt/phabricator
# MYSQL
bin/config
set
mysql.host mysql
bin/config
set
mysql.pass
$MYSQL_ENV_MYSQL_ROOT_PASSWORD
if
[
-n
"
$PHABRICATOR_STORAGE_NAMESPACE
"
]
;
then
bin/config
set
storage.default-namespace
$PHABRICATOR_STORAGE_NAMESPACE
fi
# URLs
bin/config
set
phabricator.base-uri
$PHABRICATOR_URL
if
[
-n
"
$PHABRICATOR_ALT_FILE_DOMAIN
"
]
;
then
bin/config
set
security.alternate-file-domain
"
$PHABRICATOR_ALT_FILE_DOMAIN
"
fi
# Mail
if
[
-n
"
$PHABRICATOR_USE_MAILGUN
"
]
&&
[
-n
"
$PHABRICATOR_DOMAIN
"
]
;
then
bin/config
set
mailgun.domain
$PHABRICATOR_DOMAIN
fi
# Rights
chown -R app /var/repo
# We're done
popd
touch .initialized
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Oct 12, 05:24 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3063361
Default Alt Text
setup-phabricator (665 B)
Attached To
Mode
rDPHAB Docker image for Phabricator
Attached
Detach File
Event Timeline
Log In to Comment