Skip to content

Commit

Permalink
fix env.example, add db hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Taylor committed Aug 31, 2021
1 parent 4725237 commit 3c14dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DOCKER_PROJECT_NAME=myapp
DOCKER_HOST=app.local
DOCKER_HOSTNAME=app.local
DOCKER_HTTP_PORT=8080
DOCKER_MYSQL_PORT=3306
DOCKER_REDIS_PORT=6379
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ services:
db:
image: mysql:latest
command: --default-authentication-plugin=mysql_native_password
hostname: ${DOCKER_PROJECT_NAME}-db}
environment:
MYSQL_ROOT_USER: root
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand Down

0 comments on commit 3c14dba

Please sign in to comment.