.run/PostgreSQL.run.xml
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="PostgreSQL" type="docker-deploy" factoryName="docker-image" server-name="Docker"> <deployment type="docker-image"> <settings> <option name="imageTag" value="postgres:14.1" /> <option name="containerName" value="integration-postgres" /> <option name="envVars"> <list> <DockerEnvVarImpl> <option name="name" value="POSTGRES_HOST_AUTH_METHOD" /> <option name="value" value="trust" /> </DockerEnvVarImpl> </list> </option> <option name="portBindings"> <list> <DockerPortBindingImpl> <option name="containerPort" value="5432" /> <option name="hostPort" value="5432" /> </DockerPortBindingImpl> </list> </option> </settings> </deployment> <method v="2" /> </configuration></component>