dbjpanda / drupal-on-docker Goto Github PK
View Code? Open in Web Editor NEWA production ready drupal devops project built on top of Docker. Zero down time | Easy roll back
A production ready drupal devops project built on top of Docker. Zero down time | Easy roll back
Where to build the composer dependenices ?
https://nuvole.org/blog/2016/aug/19/optimal-deployment-workflow-composer-based-drupal-8-projects
Other supporting reference:
docker/docs#5559 (comment)
Should we mount volume in production server ?
https://stackoverflow.com/questions/31146818/issue-when-trying-to-write-to-a-mounted-volume-from-inside-a-container-as-a-non?noredirect=1
It still works, I have encountered the same while installing it manually not with drush si
user ID and group ID inside the container and on the host machine should match, in order to let the host machine to grant you permissions to the share directory.
1- Create nonroot user inside nginx and php image
2- Pass UID:GID from docker host to containers to fix permission issue
Create Non root user:
https://dev.to/acro5piano/specifying-user-and-group-in-docker-i2e
https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15
docker/compose#2380
https://boxboat.com/2017/07/25/fixuid-change-docker-container-uid-gid/
https://cinhtau.net/2017/04/19/usermod-and-groupmod-alpine/
Add non-root user to sudoers
https://github.com/michaelsauter/docker-alpine/blob/master/Dockerfile
Create an user inside container as per UID:GROUP from the docker host
USER_ID=$(stat -c "%u" /var/www/"$PROJECT_NAME"/LICENSE)
By setting composer to load from cache
composer outdated drupal/*
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.