[service] Add postgresus to predefined docker networks by default

Without this, users have to manually enable "Connect to Predefined Networks" inorder to access one click databases from postgresus dashboard
This commit is contained in:
ShadowArcanist 2025-11-27 08:07:06 +01:00
parent e5c7459284
commit cc727b2c70

View file

@ -81,7 +81,7 @@ public function mount()
'destination_id' => $destination->id,
'destination_type' => $destination->getMorphClass(),
];
if ($oneClickServiceName === 'cloudflared' || $oneClickServiceName === 'pgadmin') {
if ($oneClickServiceName === 'cloudflared' || $oneClickServiceName === 'pgadmin' || $oneClickServiceName === 'postgresus') {
data_set($service_payload, 'connect_to_docker_network', true);
}
$service = Service::create($service_payload);