Permalink
Browse files

docker mysql password

  • Loading branch information...
zhou-hao committed Jan 4, 2019
1 parent da78023 commit dee891aa4027eaaceb2c1c238548b2e88742ff70
Showing with 2 additions and 2 deletions.
  1. +1 −1 docker-compose.yml
  2. +1 −1 hsweb-payment-assemble/src/main/resources/application-prod.yml
@@ -11,7 +11,7 @@ services:
restart: always
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --sql-mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
environment:
MYSQL_ROOT_PASSWORD: hSweb-Pay-p@ssw0rd
MYSQL_ROOT_PASSWORD: hSweb-Pay2019
MYSQL_DATABASE: hsweb_payment
payment:
image: hsweb/hsweb-payment
@@ -2,7 +2,7 @@ spring:
datasource:
url: jdbc:mysql://mysql:3306/hsweb_payment?useSSL=false&useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false
username: root
password: hSweb-Pay-p@ssw0rd
password: hSweb-Pay2019
resources:
static-locations: file:./data/upload/,file:./hsweb-payment-ui/,classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/, classpath:/public/

0 comments on commit dee891a

Please sign in to comment.