Skip to content

Commit

Permalink
Merge pull request #45 from girish332/a3
Browse files Browse the repository at this point in the history
fix: fix for migration dockerfile
  • Loading branch information
girish332 authored Jun 14, 2024
2 parents 1f2bd7f + caf0147 commit 1767018
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Dockerfile.flyway
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
FROM flyway/flyway:10.15-alpine

# Copy the migration files
COPY migration /flyway/sql/

# Copy the flyway.conf file
COPY flyway.conf /flyway/conf/
COPY ./migration/sql /flyway/sql/
COPY flyway.conf /flyway/conf/
CMD ["migrate", "-X"]
3 changes: 2 additions & 1 deletion flyway.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flyway.url=${FLYWAY_URL}
flyway.user=${FLYWAY_USER}
flyway.password=${FLYWAY_PASSWORD}
flyway.locations=/flyway/sql/
flyway.createSchemas=true
flyway.locations=filesystem:/flyway/sql
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1767018

Please sign in to comment.