Shuffle order, add more database knobs
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
19071f26ca
commit
e9b149e9a5
|
@ -96,8 +96,8 @@ services:
|
|||
command: |
|
||||
mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
||||
environment:
|
||||
- MYSQL_DATABASE=foodsoft
|
||||
- MYSQL_USER=foodsoft
|
||||
- MYSQL_DATABASE=foodsoft
|
||||
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
|
||||
secrets:
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
production:
|
||||
adapter: mysql2
|
||||
database: "{{ env "MYSQL_NAME" }}"
|
||||
encoding: utf8
|
||||
host: "{{ env "MYSQL_HOST" }}"
|
||||
password: "{{ secret "db_password" }}"
|
||||
pool: 5
|
||||
port: "{{ env "MYSQL_PORT" }}"
|
||||
reconnect: false
|
||||
username: "{{ env "MYSQL_USER" }}"
|
||||
|
|
Reference in New Issue