Howdy! I’m trying to self-host penpot via the docker container, but the backend seems to just be looping:
<snip>
+ exec /opt/jdk/bin/java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow --enable-preview -jar penpot.jar -m app.main
INFO StatusConsoleListener Registered Log4j as the java.util.logging.LogManager.
[2023-12-06 00:44:32.903] I app.auth.oidc - hint="provider initialized", provider="oidc", method="discover", client-id="<snip>", client-secret="hEbP2***********************************************************", scopes="profile,email,openid", auth-uri="https://auth.incremental.social/oauth/v2/authorize", user-uri="https://auth.incremental.social/oidc/v1/userinfo", token-uri="https://auth.incremental.social/oauth/v2/token", roles-attr=nil, roles=nil, keys="<snip>"
[2023-12-06 00:44:32.940] I app.metrics - action="initialize metrics"
[2023-12-06 00:44:32.973] I app.db - hint="initialize connection pool", name="main", uri="postgresql://penpot-postgres/penpot", read-only=false, with-credentials=true, min-size=0, max-size=60
[2023-12-06 00:44:33.018] I app.migrations - hint="running migrations", module=:app.migrations/migrations
+ exec /opt/jdk/bin/java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow --enable-preview -jar penpot.jar -m app.main
INFO StatusConsoleListener Registered Log4j as the java.util.logging.LogManager.
[2023-12-06 00:44:50.207] I app.auth.oidc - hint="provider initialized", provider="oidc", method="discover", client-id="<snip>", client-secret="hEbP2***********************************************************", scopes="profile,email,openid", auth-uri="https://auth.incremental.social/oauth/v2/authorize", user-uri="https://auth.incremental.social/oidc/v1/userinfo", token-uri="https://auth.incremental.social/oauth/v2/token", roles-attr=nil, roles=nil, keys="<snip>"
[2023-12-06 00:44:50.209] I app.metrics - action="initialize metrics"
[2023-12-06 00:44:50.231] I app.db - hint="initialize connection pool", name="main", uri="postgresql://penpot-postgres/penpot", read-only=false, with-credentials=true, min-size=0, max-size=60
[2023-12-06 00:44:50.263] I app.migrations - hint="running migrations", module=:app.migrations/migrations
+ exec /opt/jdk/bin/java -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j2.configurationFile=log4j2.xml -XX:-OmitStackTraceInFastThrow --enable-preview -jar penpot.jar -m app.main
It’s also really hurting the performance of the server, as each of those java processes aren’t being killed and are consuming a lot of CPU.