After upgrade, there are two start_period 's in docker-compose.yml. causing a startup failure

After upgrading the server to 4.0, the original docker-compose.yml has a duplicate start_period
now I get an error saying start_period is defined twice and the server does not start.

the unfortunate part is that if I manually edit the docker-compose.yml and delete the duplicate declaration and start the server, the duplicate declaration comes back and causes the issue again.

What might the problem be?
Screenshot_2025-05-01_at_9.17.02_PM.png
Was this page helpful?