Skip Navigation

Search

Docker @lemmy.world
feecoomeeq @lemmy.world

Docker .yml file to start mariadb-php-apache

Hello. I bought a HP t630 and wanted to learn some ubuntuServer+Docker. My file structure looks like this:

 undefined
    

/home/bg/docker_stacks (main folder)
/home/bg/docker_stacks/prod_php-maria-apache (this project folder)
/home/bg/docker_stacks/prod_php-maria-apache/docker-compose.yml

/home/bg/docker_stacks/prod_php-maria-apache/apache/

/home/bg/docker_stacks/prod_php-maria-apache/html/
/home/bg/docker_stacks/prod_php-maria-apache/html/test.php

/home/bg/docker_stacks/prod_php-maria-apache/php/
/home/bg/docker_stacks/prod_php-maria-apache/php/php.ini empty

  

inside test.php there's

 undefined
    


  

inside docker-compose.yml there's:

 undefined
     
GNU nano 6.2                                                                                                                                                                                       docker-compose.yml