Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Docker compose #22

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Fix: Docker compose #22

merged 1 commit into from
Aug 7, 2024

Conversation

mateus3009
Copy link
Contributor

Before:

stock_api  | Caused by: org.flywaydb.core.internal.exception.FlywaySqlException: Unable to obtain connection from database: FATAL: database "selforder" does not exist
stock_api  | -------------------------------------------------------------------------------------
stock_api  | SQL State  : 3D000
stock_api  | Error Code : 0
stock_api  | Message    : FATAL: database "selforder" does not exist

After:

NAME        IMAGE                             COMMAND                  SERVICE     CREATED          STATUS                    PORTS
stock_api   fiap-3soat-g15-stock-api:latest   "java -jar app.jar"      stock_api   39 seconds ago   Up 27 seconds (healthy)   0.0.0.0:8081->8081/tcp
stock_db    postgres:15.4                     "docker-entrypoint.s…"   stock_db    39 seconds ago   Up 38 seconds (healthy)   0.0.0.0:5432->5432/tcp

Copy link

sonarcloud bot commented Jul 16, 2024

@wellyfrs wellyfrs merged commit 74cadea into main Aug 7, 2024
2 checks passed
@wellyfrs wellyfrs deleted the fix-docker-compose branch August 7, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants