Skip to content

Commit

Permalink
chore: flyway (#2211)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Dec 16, 2024
1 parent 8b9c1c1 commit 4057faa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions migrations/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM flyway/flyway:10-alpine
FROM flyway/flyway:11-alpine

# Copy migrations
COPY ./sql /flyway/sql
Expand All @@ -9,4 +9,5 @@ USER app

# Health check and startup
HEALTHCHECK CMD info
CMD ["info", "migrate", "info"]
# Adding repair to see if it fixes migration issues.
CMD ["info", "migrate", "repair"]

0 comments on commit 4057faa

Please sign in to comment.