2017 © Pedro Peláez
 

library drocker

Drupal docker environment

image

twinbit/drocker

Drupal docker environment

  • Saturday, August 15, 2015
  • by paolomainardi
  • Repository
  • 13 Watchers
  • 43 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Dropdock

Installing

Phar

Download dropdock.phar >, (*1)

wget http://twinbit.github.io/dropdock/dropdock.phar

To install globally put dropdock.phar in /usr/bin., (*2)

sudo chmod +x dropdock.phar && sudo mv dropdock.phar /usr/bin/dropdock

Now you can use it just like dropdock., (*3)

Usage

Just run dropdock init in a empty folder to bootstrap a new dropdock project:, (*4)

|-- bin
|   |-- cli
|   |-- drush
|   |-- mysql
|   |-- mysql_cli
|   |-- mysql_create
|   |-- mysql_import
|   |-- phing
|   `-- phpcs
|-- data
`-- fig.yml

(@TODO) Tweak fig.yml to match your needs and run fig up -d to run the containers. At the first run fig will download and build remote containers, it can takes several minutes., (*5)

Boot2docker configuration steps:

In order to not going insane trying to fix vboxfs shared folder permissions, it is better to use NFS from OSX in order to have an automatic mapping to local user uid/gid:, (*6)

OSX NFS Export

Edit your /etc/exports file as follows:, (*7)

/Users -mapall=youruser:staff boot2docker

Booot2docker configuration

boot2docker ssh
sudo umount /Users
sudo /usr/local/etc/init.d/nfs-client start
# See http://www.slashroot.in/how-do-linux-nfs-performance-tuning-and-optimization
# See http://www.gossamer-threads.com/lists/wiki/mediawiki-cvs/500057
sudo mount 192.168.59.3:/Users /Users -o rw,async,noatime,rsize=32768,wsize=32768,proto=tcp

Sublime text NFS bug

If you are using SublimeText, you could experience this problem: https://github.com/mitchellh/vagrant/issues/2768: NFS not updating files if the file length stayed the same., (*8)

To fix it: Sublime Text > Preferences > Settings- User, (*9)

{
    "atomic_save": false
}

TODO

  • Move boot2local nfs configurations out of https://github.com/twinbit/dropdock-containers repository
  • Refactor dropdockRoboFile::boot2dockerNfsSetup() to handle better mount.nfs "fsc" options (Related to cachefilesd)
  • Create a custom iso tu automatically run the cachefilesd repository
FROM ubuntu:14.04
MAINTAINER Paolo Mainardi "paolo@twinbit.it"
ENV UPDATE_AT 1
RUN apt-get update && apt-get -y install cachefilesd
CMD /sbin/cachefilesd -n -f /etc/cachefilesd.conf -s

The Versions

15/08 2015

dev-master

9999999-dev

Drupal docker environment

  Sources   Download

MIT

The Requires

 

26/06 2015

0.1.12

0.1.12.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

26/06 2015

0.1.11

0.1.11.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

18/02 2015

0.1.10

0.1.10.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

15/02 2015

0.1.9

0.1.9.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

01/01 2015

0.1.8

0.1.8.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

31/12 2014

0.1.7

0.1.7.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

30/12 2014

0.1.6

0.1.6.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

30/12 2014

0.1.5

0.1.5.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

30/12 2014

0.1.4

0.1.4.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

29/12 2014

0.1.3

0.1.3.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

29/12 2014

0.1.2

0.1.2.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

29/12 2014

0.1.1

0.1.1.0

Drupal docker environment

  Sources   Download

MIT

The Requires

 

29/12 2014

0.1.0

0.1.0.0

Drupal docker environment

  Sources   Download

MIT

The Requires