Skip to content

Commit a3b4367

Browse files
committed
Simplify Docker compose
1 parent f593097 commit a3b4367

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ services:
66
command: --default-authentication-plugin=mysql_native_password
77
restart: always
88
environment:
9-
- MYSQL_ROOT_PASSWORD=php-crud-api
9+
#- MYSQL_ROOT_PASSWORD=php-crud-api
1010
- MYSQL_DATABASE=php-crud-api
1111
- MYSQL_USER=php-crud-api
1212
- MYSQL_PASSWORD=php-crud-api
13-
ports:
14-
- "33066:3306"
13+
#ports:
14+
#- "33066:3306"
1515
volumes:
1616
- ./tests/fixtures/blog_mysql.sql:/docker-entrypoint-initdb.d/blog_mysql.sql
1717
webserver:
1818
container_name: webserver
1919
build:
2020
context: ./
2121
environment:
22-
- PHP_CRUD_API_DRIVER=mysql
22+
#- PHP_CRUD_API_DRIVER=mysql
2323
- PHP_CRUD_API_ADDRESS=database
24-
- PHP_CRUD_API_PORT=3306
25-
- PHP_CRUD_API_DATABASE=php-crud-api
26-
- PHP_CRUD_API_USERNAME=php-crud-api
27-
- PHP_CRUD_API_PASSWORD=php-crud-api
24+
#- PHP_CRUD_API_PORT=3306
25+
#- PHP_CRUD_API_DATABASE=php-crud-api
26+
#- PHP_CRUD_API_USERNAME=php-crud-api
27+
#- PHP_CRUD_API_PASSWORD=php-crud-api
2828
#- PHP_CRUD_API_DEBUG=1
2929
ports:
3030
- "8080:80"

0 commit comments

Comments
 (0)