Skip to content

Commit c0ac4f1

Browse files
add mysql root pass, remove container_name args
1 parent 2147a33 commit c0ac4f1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Diff for: .env

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MYSQL_PORT=3306
44
MYSQL_DATABASE=db_dev
55
MYSQL_USER=dbuser
66
MYSQL_PASSWORD=dbpassword
7+
MYSQL_ROOT_PASSWORD=root_dbpassword
78
MAILER_HOST=127.0.0.1
89
MAILER_USER=~
910
MAILER_PASSWORD=~

Diff for: docker-compose.yml

-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ services:
44

55
db:
66
image: mysql:5.7.17
7-
container_name: mysql_dev_crv
87
env_file:
98
- ./.env
109
volumes:
@@ -18,7 +17,6 @@ services:
1817
image: codereviewvideos/nginx.dev
1918
ports:
2019
- "81:80"
21-
container_name: nginx_dev_crv
2220
restart: always
2321
volumes:
2422
- "./volumes/nginx/logs:/var/log/nginx/"
@@ -32,7 +30,6 @@ services:
3230
php:
3331
image: codereviewvideos/www.dev
3432
restart: always
35-
container_name: php_dev_crv
3633
env_file:
3734
- .env
3835
volumes:

0 commit comments

Comments
 (0)