GithubHelp home page GithubHelp logo

dbjpanda / drupal-on-docker Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 334 KB

A production ready drupal devops project built on top of Docker. Zero down time | Easy roll back

PHP 41.00% Shell 48.74% Dockerfile 10.26%

drupal-on-docker's People

Contributors

albertvolkman avatar alexpott avatar bradjones1 avatar clouseau avatar dbjpanda avatar derhasi avatar greg-1-anderson avatar hussainweb avatar jcnventura avatar jmolivas avatar jonhattan avatar jorissteyn avatar kasperg avatar keopx avatar leymannx avatar madalinignisca avatar michaellenahan avatar mickaelperrin avatar mikran avatar modulesunraveled avatar opdavies avatar pfrenssen avatar rodrigoaguilera avatar rwanyoike avatar thom8 avatar tostinni avatar tstoeckler avatar webflo avatar weitzman avatar zaporylie avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cy-nautix

drupal-on-docker's Issues

Create container using non-root user

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.