Skip to content

Commit

Permalink
refactor: 使用 .env 填入 USER 和 PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Dec 14, 2024
1 parent 7bf36c9 commit 6f141fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ services:
environment:
MYSQL_ROOT_PASSWORD: rootroot
MYSQL_DATABASE: private_website_db
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- mysql_data:/var/lib/mysql
networks:
Expand Down

0 comments on commit 6f141fe

Please sign in to comment.