Comments (10)
Working on an upstream issue for the docker_arm role... geerlingguy/raspberry-pi-dramble#146
from drupal-pi.
Role for Docker on ARM / Raspberry Pi with Ansible is now available: https://galaxy.ansible.com/geerlingguy/docker_arm
from drupal-pi.
Almost finished with this. I have a local task hook that is building my Docker for Kubernetes site in the Pi... need to also start testing on a real Pi too, instead of inside Vagrant and Travis CI...
from drupal-pi.
Documenting here the hook-tasks.yml
I'm using to build the 'Drupal for Kubernetes' codebase locally on the Pi for use as the drupal_image
:
---
- name: Create Docker daemon.json config file to fix DNS problems.
copy:
content: '{"dns": ["8.8.8.8"]}'
dest: /etc/docker/daemon.json
notify: restart docker
- meta: flush_handlers
- name: Install Docker python library.
pip:
name: docker
state: present
- name: Ensure Drupal for Kubernetes project directory exists.
file:
path: /opt/drupal-for-kubernetes
state: directory
- name: Clone Drupal for Kubernetes project.
git:
repo: 'https://github.com/geerlingguy/drupal-for-kubernetes.git'
dest: /opt/drupal-for-kubernetes
version: master
- name: Build Drupal for Kubernetes Docker image.
docker_image:
path: /opt/drupal-for-kubernetes
name: geerlingguy/drupal-for-kubernetes
tag: latest
from drupal-pi.
Almost done with what I need for the next bit of legwork for my Drupal/Kubernetes/Pi presentation!
from drupal-pi.
Got the load balancing working in the Vagrant test environment... the next step here is running the entire revamped playbook against my Pi model 2 B+ which is running the live site. Do I 'do it live' and see what breaks and possibly take down www.pidramble.com for a few hours or a day? Or do I do it the boring, safe way, and do it on one of my boring spare Pis to make sure there aren't any more little bugs left to iron out?
Not sure, but too tired to do that tonight. Sounds like a fun thing to do over the weekend!
from drupal-pi.
Also bumped into this fun little regex issue: geerlingguy/drupal-container#19
But now that it's resolved, my single pi is all set up and running, woot!
from drupal-pi.
Is there some sort of guide that you have hosted somewhere for linux n00bs like myself to attempt to do this?
I came from the other thread where you mentioned that you will be switching to docker install.
I'm so confused. where do i start, and how do I configure this for just a simple drupal install on a raspberry pi?
There's dramble-pi, drupal vm, composer, ansible, vagrant/vb, kubernites, docker... not asking you to hold my hand, but the steps to try and get this running should perhaps be in one place.
Or maybe just a brief list of what to do in what order?
I'm so lost and I'm usually pretty good at figuring my way around things like this but I don't even know where to start or if installing one package a certain way is not going to be compatible with what you're publishing here.
there's http://docs.drupalvm.com/en/latest/other/docker/
then there's
If you want to install a Drupal 8 site locally with minimal fuss, just:
- Install Vagrant and VirtualBox.
- Download or clone this project to your workstation.
- cd into this project directory and run vagrant up.
But Drupal VM allows you to build your site exactly how you like, using whatever tools you need, with almost infinite flexibility and customization!
... I am not sure what the difference between the two is or what is meant by "allows you to build your site exactly how you like" as most Drupal sites have to be built according to the requirements of the project anyway...
What are the limitations of doing it one way or the other? Will I be able to upgrade, or will maintenance or recovery during a system crash be convoluted in one instance, or easier in another... I'm just not sure about the what and why.
from drupal-pi.
geerlingguy,
I noticed that the guide on the drupal-pi repo was updated to reflect the new docker configuration and gave it a shot, and it seems to be all working now!!!
thanks for publishing that update a few weeks ago. I was confused as I had looked at it earlier and didn't realize that it had been changed to a docker install guide, so now all is well.
I added the VNC ports as suggested in the other thread (5900,5800) and it's all working good.
Now I just need to figure out a way to migrate my drupal install from one local server (NAS) to another (drupal-pi).
Thanks!
from drupal-pi.
@Careless - Awesome, glad you could figure it out! And sorry about the trouble. I've been spending a lot of time on a few of these Pi-related projects over the past months gearing up for my DrupalCon presentation :)
from drupal-pi.
Related Issues (20)
- No package matching php7.0-apcu HOT 3
- Issue at end of build with php. HOT 3
- Add cron job configuration HOT 1
- what am i doing wrong here? I can't get this to work at all HOT 6
- New year, new picture needed for README
- Add ability to enable proxy caching
- multiple instances and sites folders HOT 3
- Fix issue with drupal files dir owner and group
- Test and build against Raspbian 10 Buster / Pi 4 HOT 6
- docker-compose commands failing with "No module named shutil_get_terminal_size" HOT 6
- Updates for latest version of Raspbian on Pi 4 HOT 1
- Setup corrupts ssh settings HOT 3
- Test Performance and Functionality on Raspberry Pi OS 64-bit HOT 21
- Update build.pull value for 'Build Drupal for Kubernetes Docker image.' HOT 1
- Change default database image from hypriot/rpi-mysql:5.5 HOT 2
- Ubuntu 20.04.2 LTS error with "python-backports.ssl-match-hostname" package HOT 8
- Bring up the Docker containers fails
- Switch from Travis CI to GitHub Actions
- Link in Readme.md leads to 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-pi.