Upgrade using docker-compose.yml file #554
-
How to specify database schema upgrade switch in docker-compose.yml file? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Can you please provide the file you are using at the moment? |
Beta Was this translation helpful? Give feedback.
-
version: '3' scheduler: |
Beta Was this translation helpful? Give feedback.
-
can the UPD: |
Beta Was this translation helpful? Give feedback.
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"]