File tree Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1+ FROM mysql:8.0.23
2+ CMD ["mysqld" ]
3+ EXPOSE 3306
Original file line number Diff line number Diff line change 1+ *
2+ ! .gitignore
Original file line number Diff line number Diff line change 11version : ' 3'
22
33services :
4- # database:
5- # build:
6- # context: ./database
4+ database :
5+ build :
6+ context : ./database
77 # environment:
88 # - MYSQL_DATABASE=${DATABASE_NAME}
99 # - MYSQL_USER=${DATABASE_USER}
1010 # - MYSQL_PASSWORD=${DATABASE_PASSWORD}
1111 # - MYSQL_ROOT_PASSWORD=${DATABASE_ROOT_PASSWORD}
12- # ports:
13- # - "3306:3306"
14- # volumes:
15- # - ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
16- # - ./database/data:/var/lib/mysql
12+ ports :
13+ - " 3306:3306"
14+ volumes :
15+ # - ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
16+ - ./database/data:/var/lib/mysql
1717
1818 php-fpm :
1919 build :
2020 context : ./php-fpm
21- # depends_on:
22- # - database
21+ depends_on :
22+ - database
2323 # environment:
2424 # - APP_ENV=${APP_ENV}
2525 # - APP_SECRET=${APP_SECRET}
Original file line number Diff line number Diff line change 1- hola!
1+ <?php
2+ phpinfo ();
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments