How do you run migrations on a vps when using docker compose to set up other database and api services? #973
Unanswered
theAnuragMishra
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
All of the above are valid. You can also use the goose provider to run migrations (with a lock) from your application. In the same way the app talks to postgres; likewise, so will goose. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
do u install goose on the vps, expose postgres on a port and then run the migrations. or do u install goose in a docker container and run the migrations. or do u write a migrate service in the docker compose.
Beta Was this translation helpful? Give feedback.
All reactions