Skip to content

Commit

Permalink
Updated db image
Browse files Browse the repository at this point in the history
  • Loading branch information
مِيزَانُ الْدِّينْ عَبْدُ ذِيْ الْجَلَالِ وَ الْإِكْرَامِ committed Jun 28, 2019
1 parent 959b755 commit 2c384f0
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ services:
depends_on:
- alquran-db
environment:
MYSQL_USER: vesicaUser
MYSQL_PASSWORD: vesicaPassword
MYSQL_DATABASE: vesicaDb
MYSQL_USER: quran
MYSQL_PASSWORD: quran
MYSQL_DATABASE: quran
MYSQL_HOST: quran-db
WAF_PROXY_MODE: 0
ports:
Expand All @@ -29,17 +29,18 @@ services:
# MySQL server
#######################################
alquran-db:
build:
context: .
dockerfile: Dockerfile.db
image: islamicnetwork/api.alquran.cloud-db:latest
# build:
#context: .
#dockerfile: Dockerfile.db
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_USER: vesicaUser
MYSQL_PASSWORD: vesicaPassword
MYSQL_DATABASE: vesicaDb
#MYSQL_ROOT_PASSWORD: "vesicaRooter"
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_USER: quran
MYSQL_PASSWORD: quran
MYSQL_DATABASE: quran
MYSQL_ROOT_PASSWORD: "root"
#MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- "3306:3306"
container_name: quran-db
Expand Down

0 comments on commit 2c384f0

Please sign in to comment.