Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17709

Re: docker: apache, php and mysql

From alex <1j9448a02@lnx159sneakemail.com.invalid>
Newsgroups comp.lang.php
Subject Re: docker: apache, php and mysql
Date 2018-03-15 20:46 +0100
Organization Aioe.org NNTP Server
Message-ID <p8eiil$1a36$1@gioia.aioe.org> (permalink)
References <p898u7$lb0$1@gioia.aioe.org> <p8c3cl$nd3$1@jstuckle.eternal-september.org> <p8d9l0$ucg$1@gioia.aioe.org> <p8edam$33u$1@jstuckle.eternal-september.org>

Show all headers | View raw


Il 15/03/2018 19:16, Jerry Stuckle ha scritto:
> 
> Forget docker.

And then what is it for?

> MySQL is not that hard to configure.  Look at the manual 
> at dev.mysql.com; it's long but all you need to look at is the 
> installation and configuration section for your OS.
>

On my operating system it is installed, and it works properly.

> Or, better yet - which flavor of Linux are you using?

ubuntu 16.04

>  Most have RPMs or 
> similar to install MySQL on the system from their repository.
> 

Certainly.

> And the host name is the name of your server - i.e. "localhost" if MySQL 
> is on the same server you are running your scripts on, or the host name 
> or ip address of a remote server.

version: '3.3'
services:
   app:
     build:
       context: .
       dockerfile: docker/Dockerfile
     image: laravel-docker
     ports:
       - 4000:80
     volumes:
       - ./src:/var/www/html
     links:
       - mysql
       - redis
     environment:
       DB_HOST: localhost
...

but it does not change anything

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-13 20:31 +0100
  Re: docker: apache, php and mysql Jerry Stuckle <jstucklex@attglobal.net> - 2018-03-14 17:15 -0400
    Re: docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-15 09:08 +0100
      Re: docker: apache, php and mysql Martin Gregorie <martin@mydomain.invalid> - 2018-03-15 12:31 +0000
        Re: docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-15 14:38 +0100
          Re: docker: apache, php and mysql Martin Gregorie <martin@mydomain.invalid> - 2018-03-15 14:56 +0000
            Re: docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-15 17:41 +0100
              Re: docker: apache, php and mysql MeV <michael.vilain@gmail.com> - 2018-03-15 11:03 -0700
                Re: docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-15 19:14 +0100
      Re: docker: apache, php and mysql Jerry Stuckle <jstucklex@attglobal.net> - 2018-03-15 14:16 -0400
        Re: docker: apache, php and mysql alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-03-15 20:46 +0100
        Re: docker: apache, php and mysql Percival John Hackworth <pjh@nanoworks.com> - 2018-03-15 16:41 -0700
          Re: docker: apache, php and mysql Jerry Stuckle <jstucklex@attglobal.net> - 2018-03-15 20:33 -0400

csiph-web