Upgrade using docker-compose.yml file #554
|
How to specify database schema upgrade switch in docker-compose.yml file? |
Answered by
pashagolub
Mar 28, 2023
Replies: 3 comments 5 replies
|
Can you please provide the file you are using at the moment? |
0 replies
|
version: '3' scheduler: |
0 replies
|
can the UPD: |
5 replies
Answer selected by
stibra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can the
command: ["--upgrade"]solve the issue?https://docs.docker.com/compose/compose-file/05-services/#command
UPD:
It does work with docker-compose and docker swarm, but it does not work with podman play kube or kubernetes, command has to be like that:
command: ["/pg_timetable", "--upgrade"]