commit
277fd167cf
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "coolify",
|
"name": "coolify",
|
||||||
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
||||||
"version": "2.0.18",
|
"version": "2.0.19",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev --host 0.0.0.0",
|
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev --host 0.0.0.0",
|
||||||
|
@ -79,7 +79,7 @@ export async function login({ email, password }) {
|
|||||||
create: {
|
create: {
|
||||||
id: uid,
|
id: uid,
|
||||||
name: uniqueName(),
|
name: uniqueName(),
|
||||||
destinationDocker: { connect: { network: 'coolify' } }
|
destinationDocker: { connect: { network: cuid() } }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
permission: { create: { teamId: uid, permission: 'owner' } }
|
permission: { create: { teamId: uid, permission: 'owner' } }
|
||||||
|
@ -61,8 +61,8 @@
|
|||||||
class:hover:text-red-500={$session.isAdmin}
|
class:hover:text-red-500={$session.isAdmin}
|
||||||
class="icons tooltip-bottom bg-transparent text-sm"
|
class="icons tooltip-bottom bg-transparent text-sm"
|
||||||
data-tooltip={$session.isAdmin
|
data-tooltip={$session.isAdmin
|
||||||
? 'Delete Git Source'
|
? 'Delete Destination'
|
||||||
: 'You do not have permission to delete a Git Source'}><DeleteIcon /></button
|
: 'You do not have permission to delete this destination'}><DeleteIcon /></button
|
||||||
>
|
>
|
||||||
</nav>
|
</nav>
|
||||||
<slot />
|
<slot />
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Docker from './_Docker.svelte';
|
import Docker from './_Docker.svelte';
|
||||||
|
import cuid from 'cuid';
|
||||||
let payload = {};
|
let payload = {};
|
||||||
let selected = 'docker';
|
let selected = 'docker';
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
user: 'root',
|
user: 'root',
|
||||||
port: 22,
|
port: 22,
|
||||||
privateKey: null,
|
privateKey: null,
|
||||||
network: 'coolify',
|
network: cuid(),
|
||||||
isCoolifyProxyUsed: true
|
isCoolifyProxyUsed: true
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
loading.save = true;
|
loading.save = true;
|
||||||
if (fqdn) {
|
if (fqdn !== settings.fqdn) {
|
||||||
await post(`/settings/check.json`, { fqdn });
|
await post(`/settings/check.json`, { fqdn });
|
||||||
await post(`/settings.json`, { fqdn });
|
await post(`/settings.json`, { fqdn });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user