aHub-Tech / Live-Divulgador

Divulgador de Twitch streams no Twitter
https://livedivulgador.herokuapp.com/
GNU General Public License v3.0
11 stars 3 forks source link

Bug: faltando variaveis na docker-compose #28

Closed vcwild closed 2 years ago

vcwild commented 2 years ago

Ao buildar o mariaDB estao faltando as seguintes declaracoes

db_1              | 2021-10-17 06:41:46+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db_1              | 2021-10-17 06:41:46+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.4+maria~focal started.
db_1              | 2021-10-17 06:41:47+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified
db_1              |     You need to specify one of MARIADB_ROOT_PASSWORD, MARIADB_ALLOW_EMPTY_ROOT_PASSWORD and MARIADB_RANDOM_ROOT_PASSWORD
chrisemke commented 2 years ago

It looks like you will even need to specify root password. From what I've seen we can use MARIADB_RANDOM_ROOT_PASSWORD: True to set a random root password, because I don't think we'll need to use the root user. What do you think @vcwild?

vcwild commented 2 years ago

acho que setamos pelo .env mesmo, pq se der algum problema no banco não temos acesso no root

vcwild commented 2 years ago

Resolvido