erichbschulz / dcbk Goto Github PK
View Code? Open in Web Editor NEWDockerised CiviCRM build-kit
Dockerised CiviCRM build-kit
ideally mysql and appache are in different containers
not a major problem as can ssh in as root with docker exec -it buildkit bash
I have built the image and tried to run container and exec into running container, I did this command into container:
civibuild create d44 --url http://d44.localhost
but I could not browse, I only see This site can’t be reached
I tried to open ports using -P
as this way:
docker run -i -t --name=builderkit --rm -P bk
and I did exec into it as
docker exec -it builderkit /bin/bash
then I did:
root@ec286d41c0f8:~# civibuild create d44 --url http://d44.localhost
.
.
.
[[Save CMS DB (d44cms_ejcad) to file (/opt/buildkit/app/snapshot/d44/cms.sql.gz)]]
[[Save Civi DB (d44civi_u3347) to file (/opt/buildkit/app/snapshot/d44/civi.sql.gz)]]
[[Setup MySQL for Test]]
[[Restore "/opt/buildkit/build/d44" DB (test) from file (/opt/buildkit/app/snapshot/d44/civi.sql.gz)]]
[[Show site summary (d44/default)]]
- CMS_ROOT: /opt/buildkit/build/d44
- CMS_URL: http://d44.localhost
- CMS_DB_DSN: mysql://d44cms_ejcad:[email protected]:3306/d44cms_ejcad?new_link=true
- CIVI_DB_DSN: mysql://d44civi_u3347:[email protected]:3306/d44civi_u3347?new_link=true
- TEST_DB_DSN: mysql://d44test_qhh78:[email protected]:3306/d44test_qhh78?new_link=true
- ADMIN_USER: admin
- ADMIN_PASS: OvgFRSy5vKKY
- DEMO_USER: demo
- DEMO_PASS: demo
[[General notes]]
- You may need to restart httpd.
- You may need to add the hostname and IP to /etc/hosts or DNS.
in the etc/host:
172.17.0.3 d44.localhost
as I detected docker inspect builderkit | grep IPAddress
and it was
docker inspect builderkit | grep IPAddress
"SecondaryIPAddresses": null,
"IPAddress": "172.17.0.3",
"IPAddress": "172.17.0.3",
in the browser, when I visit 172.17.0.3
I get Connecting...
at the status .. but nothing is shown..
Any advice?
this isn't essential for dev instances but for anything close to production ready would be very helpful
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.