Code Monkey home page Code Monkey logo

homestead-docker's People

Contributors

adilelhamouss avatar alan614 avatar dydx avatar jaouadk avatar natsu90 avatar shincoder avatar sizzar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homestead-docker's Issues

connecting to the database

forgive me for being dense, but how do I connect my laravel app to the database in the other container?

Nginx Sites-enabled problem

2 months ago I ran the docker and created the 'default' file inside the 'sites-available' folder, but now it does not create any more, was there any change in the process?

homestead-docker vs laradock

I see a lot of "Deprecated in favor of laradock. Will you continue to support this homestead-docker?

I guess the whole purpose with the laradock concept of having every service in different containers and only serving one laravel project is so one could deploy "the whole package" to an production droplet?

For now i will only use Docker for development so i really like the idea of having only two containers and be able to have all my projects in two containers.

I really like to have your opinion on this @ShinCoder :)

php5.6 and mailparse

I've noticed that the php version here has fallen behind, it's still at 5.9.9 whereas in the vagrant one it's at 5.6.15, could be a result of the ondrej ppa being removed(though what I've encountered is that putting it back required a public key update)?

Also, the latest mailparse of pecl requires php 7 (so this breaks during the image build as well), so specifying the version number might be required, however I found that after updating to php 5.6, mailparse is searched in /usr/lib/php5/20131226/mailparse.so whereas the current mailparse would still be location in folder /url/lib/php5/2012****/

cant run serve.sh: permission denied

I've got problem with permission when running serve.sh script:

homestead@0b05195898f3:/$ sudo ./serve.sh myapp.dev /apps/frid/server/public
[sudo] password for homestead:
./serve.sh: line 40: /etc/nginx/sites-available/myapp.dev: Permission denied
ln: failed to create symbolic link '/etc/nginx/sites-enabled/myapp.dev': Permission denied
nginx: stopped
nginx: started

this is how permissions for sites-available look like:

homestead@0b05195898f3:/$ ll /etc/nginx/sites-available/
total 4
drwxr-xr-x 2 root root    0 Jan 16 16:20 ./
drwxr-xr-x 1 root root 4096 Jan 16 15:33 ../

It seems like this is first time this is being reported. May be because I am on windows, my volumes mapping looks like this:

- ~/docker/homestead-custom/volumes/nginx/sites-available:/etc/nginx/sites-available
- ~/docker/homestead-custom/volumes/nginx/sites-enabled:/etc/nginx/sites-enabled 

Cange php.ini

Hi,

Just love this project, made me leave Vagrant.

I have added
sed -i "s/post_max_size = .*/post_max_size = 99M/" /etc/php/7.0/fpm/php.ini
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 99M/" /etc/php/7.0/fpm/php.ini

in provision.sh but i don know how to make it take effect?

Thank you.

boot2docker on Mac

Have you tried using this on a Mac with boot2docker? I can get the instance running, but since the docker container runs inside its own VM, there are so many port forwards. Any idea on how to access nginx on the docker container through the boot2docker VM?

Xdebug and phpStorm

Hi again,

Has anyone successfully configured phpStorm with xdebug with this project?

Is is possible to change the PHP version?

Using your image for a Bitbucket Pipeline build, and getting a mismatch on the PHP version.
Is it possible to update the php version?

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for ocramius/proxy-manager 2.0.3 -> satisfiable by ocramius/proxy-manager[2.0.3].
    - ocramius/proxy-manager 2.0.3 requires php 7.0.0 - 7.0.5 || ^7.0.7 -> your PHP version (7.0.6) does not satisfy that requirement.
  Problem 2
    - ocramius/proxy-manager 2.0.3 requires php 7.0.0 - 7.0.5 || ^7.0.7 -> your PHP version (7.0.6) does not satisfy that requirement.
    - doctrine/migrations 1.4.1 requires ocramius/proxy-manager ^1.0|^2.0 -> satisfiable by ocramius/proxy-manager[2.0.3].
    - Installation request for doctrine/migrations 1.4.1 -> satisfiable by doctrine/migrations[1.4.1].

MongoDB

How I can install MongoDB using shincoder/homestead-docker?

homestead:latest not found

Pulling repository docker.io/shincoder/homestead
ERROR: Error: image shincoder/homestead:latest not found

504 Gateway Time-out

When i'm running xdebug i get "504 Gateway Time-out" and i wonder if there is an way to extend this somehow?

Slow Mysql

I'm using this docker on my mac for local developments, but the mysql in this container is very slow. How I can speed things up?

can't build

Step 6 : RUN ./provision.sh
---> Running in 0cf71dd767f2
: No such file or directory

Container command not found or does not exist

I could not start the container, I got this error:

$ docker-compose up -d
Removing lumen
Recreating 5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_5136e763cf0f_homesteaddocker_lumen_1
�[31mERROR�[0m: Container command not found or does not exist.

Any hint?

How to connect on mysql?

Iḿ trying to connect to mysql, but iḿ receiving failed!

the application is ok, but de DB is failed...

Host: localhost:3306
user: root
password:

homestead:php7.1 is running php 7.3.3

The image for homestead:php7.1 appears to be running php 7.3.3 after yesterdays update.

php -v
PHP 7.3.3-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Mar 7 2019 20:31:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.3-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

Export/ save container

When using Vagrant i could export an backup of my VM machine and load i locally or from my own github. Is it possible to do so with Docker?

Couple of fixes were needed

Ran into few problems while installing, required these changes in start of the provision file :

fix for - dpkg-reconfigure: unable to re-open stdin: No file or directory

export DEBIAN_FRONTEND=noninteractive

fix for - invoke-rc.d: policy-rc.d denied execution of start.

printf "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d

fix for - The following packages cannot be authenticated

locale-gen en_US.UTF-8
export LANG=en_US.UTF-8
apt-key update

Not an issue - just a Question

Hi,

I have some Joomla and WP sites that i ran in an Vagrantbox and since i would like to leave Vagrant/WM totally i came across this docker proj: https://github.com/rivenvirus/apache-php-multisite

Now i got this working but since i don't want to fiddle with ports other than 80 i cant run Laravel, Nginx, MariaDB sites att the same time as WP, Apache, MySQL sites.

When running Vagrant i had different IP:s on the Vagrant machines so there were no problems with port 80. This might be impossible to solve with Docker but if i could i really would like to mix these two dockers in some way.

Is this possible?

Couldn't connect to Docker daemon

When I run sudo docker-compose up -d I get this error (I'm on OS X):

ERROR: Couldn't connect to Docker daemon - you might need to run 'docker-machine start default'.

Then, if I run docker-machine start default it says:

Machine "default" is already running.

How to connect to database?

Hello,

I dont know how to connect to the database. It looks like only the web container is available using HTTP.

CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                                             NAMES
b2f66165c50a        shincoder/homestead:php7.3   "/usr/bin/supervisord"   21 minutes ago      Up 21 minutes       9876/tcp, 35729/tcp, 0.0.0.0:2222->22/tcp, 0.0.0.0:8000->80/tcp   homestead-docker_web_1
c713ffcce910        mysql:5.7                    "docker-entrypoint.s…"   2 hours ago         Up 11 minutes       3306/tcp, 33060/tcp

A little guide in the readme would be really great.

HTTPS for homestead

Hey Great job my friend with this image, it's been a while since chrome stopped the support of .dev tld on http protocol, now it is forcing us to use https, so can you please update the README.md and help me setup the SSL for myapp.dev

How to connect MySQL WorkBench

Hello.

I have a Mac with macOS Sierra Version 10.12.1.

I modified the script to ejcute MariaDB instead of MySQL.

Now I'm trying to connect to the database from MySQL WorkBench but which are not necessary parameters, any ideas please?

Greetings.

SOAP missing

The soap extension seems to be missing by default, not sure if it was deliberate. Easy installed via apt-get though.

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.