Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Agnihotri committed Nov 3, 2024
1 parent ade086a commit d200f7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: all_in
MYSQL_USER: appuser
MYSQL_PASSWORD: password
MYSQL_ROOT_HOST: '%'
ports:
- "3306:3306"
Expand Down
3 changes: 1 addition & 2 deletions mysql-init.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CREATE DATABASE all_in;
CREATE USER 'appuser'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON all_in.* TO 'appuser'@'%';
GRANT ALL PRIVILEGES ON all_in.* TO 'root'@'%';

0 comments on commit d200f7f

Please sign in to comment.