Giter Site home page Giter Site logo

cerberos-dev / crb-dock Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 2.0 215 KB

Our own Docker setup

Shell 39.61% Dockerfile 60.39%
docker devops php-container elasticsearch-container docker-setup commandline elasticsearch-plugin osx php-fpm-container nginx-container

crb-dock's People

Contributors

cerberosdev avatar mvzundert avatar rothiss avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

crb-dock's Issues

Drupal + Docker = Slow

Cause not known yet. Drupal 8 on Docker is (extremely) slow. A simple page request takes up 20-30sec.

.env file example

Create an env-example file to help people create the .env file needed to run the docker-compose

Curl does not support HTTP2

Currently, the installed curl extension does not support HTTP2 (which is required for requests to Apple Push Notification Service).

We found a way (cc @sjopet) to make it work in the workspace container, but we also need to make it work in the php-fpm container (as our php script is trying to call APNS).

Steps to reproduce

  1. docker-compose exec php-fpm bash
  2. curl --http2 http://example.com/

If this results in curl: (1) Unsupported protocol, HTTP2 is not setup correctly.
If this returns HTML, everything is okay.

SSL

Create a method to setup a SSL from the .conf file.

Access from external machine

Would like to access a docker service from an external device such as a tablet/smartphone within the same network.

Container var/www folder options

To fix performance issues on OSX we can use the Docker EDGE version and enable the :cached option on the application location folder (/var/www:cached)

This also happens to break when not using OSX (Ubuntu, Windows).

We should make this an .env file setting instead.

NGINX container

Creating an NGINX container based on the nginx:apline image.

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.