Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correção de bug no Makefile - remoção da palavra 'COMPANIES' das…
… variaveis POSTGRES (#78) Correção de bug na variável de ambiente no comando `start-database`. alterei os nomes das variáveis de ambientes no comando `start-database` do Makefile de: ```Makefile -e POSTGRES_COMPANIES_PASSWORD=$(POSTGRES_COMPANIES_PASSWORD) \ -e POSTGRES_COMPANIES_USER=$(POSTGRES_COMPANIES_USER) \ -e POSTGRES_COMPANIES_DB=$(POSTGRES_COMPANIES_DB) \ ``` Para: ``` -e POSTGRES_PASSWORD=$(POSTGRES_COMPANIES_PASSWORD) \ -e POSTGRES_USER=$(POSTGRES_COMPANIES_USER) \ -e POSTGRES_DB=$(POSTGRES_COMPANIES_DB) \ ``` ### Por que da alterações? Ao executar o comando `run`, o script dava um erro do tipo: ``` wait-for-it: timeout occurred after waiting 90 seconds for localhost:5432 make: *** [Makefile:175: wait-database] Error 124 ``` vi que no pr (#76 ) as variáveis de ambientes foram alteradas. E as variáveis que cria a imagem doo banco de dados também foram alteradas com a palavra `COMPANIES`, isso impedia que o banco de dados fosse iniciado.
- Loading branch information