Running dhis2 on docker using an existing database

@KMurumba can you share exactly the command you used to originally set up the cluster? The command @Gassim shared only works if a cluster named 2.35.0 has already been set up and configured. You can clear the existing cluster completely and start “fresh” by running d2 cluster down --clean 2.35.0 then the full d2 cluster up command specifying the configuration you want.

When you receive a 502 Bad Gateway error, please share the output of the d2 cluster logs 2.35.0 core command which will show any errors thrown by the DHIS2 core instance

1 Like