-
Notifications
You must be signed in to change notification settings - Fork 19
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
External Database #13
Comments
hi, See the README, e.g. -e "MYSQL_HOST=10.1.1.1" -e "MYSQL_DATABASE=drupal_site1" -e "MYSQL_USER=drupal_site1" -e "MYSQL_PASSWORD=pass4drupal_site1" |
Sorry I was meaning to provide an SQL file for it load in, that was it's all in the container but closely matchs my live site. |
That is not provided for, you would have to do some coding yourself, e.g. in custom.sh |
Remove the --silent? Look at the container logs?
…On 20 January 2017 at 05:00, act2281 ***@***.***> wrote:
When i run the below command, I don't get any files in /var/www/html, when
I look in the logs it says it initialized empty GIT repository, then it
stops.
If I go into the container, and run git pull it works just fine (so I
think my SSH keys are good). Any ideas what I have wrong or how i can debug
this?
docker run --privileged=true -td -p 8002:80 -e "DRUPAL_GIT_REPO=
***@***.***/user/essa-painting.git" -e
"DRUPAL_GIT_BRANCH=master" -e "DRUPAL_FINAL_CMD=curl --silent -o
/tmp/cleanup1.sh https://raw.githubusercontent.
com/Boran/webfact-make/master/scripts/cleanup1.sh && chmod 700
/tmp/cleanup1.sh" -e "DRUPAL_FINAL_SCRIPT=/tmp/cleanup1.sh" -v
/root/boran-drupal/ssh/id_rsa:/root/.ssh/id_rsa -v
/root/boran-drupal/ssh/id_rsa.pub:/root/.ssh/id_rsa.pub -v
/root/boran-drupal/ssh/known_hosts:/root/.ssh/known_hosts --name
drupal8002 boran/drupal
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYuQ9oMPmFseojxl97KZBRHp8I3CSp7ks5rUDFTgaJpZM4Lj_Lh>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
This is working great for me, thank you! One question, I want to provide a database for the container to use so that it's starting similar to live. Where do you put that / how can I get it to build with that database.
Thanks for the great script!
The text was updated successfully, but these errors were encountered: