So I am trying to integrate my liquibase with an already existing docker image of Postgres. There are already images of frontend
and backend
in the docker-compose.yml
file and I have my changelog scripts too but I am not sure how to proceed with integrating the liquibase changelog
in the already existing docker-changelog.yml
.
Any cues on how to proceed?
This is my example docker-compose.yml file:
version: '3'
services:
PostgreSQL:
# service details
Liquibase:
# service details
Backend:
# service details
Frontend:
# service details
My Postgres
changelog has database updation scripts and everything, I just don’t know how to proceed with adding those in the docker-compose file to run and create everything with the command:
docker-compose up -d