diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index edc1377dd..b87fe4eef 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -21,7 +21,7 @@ import { scheduler } from './scheduler'; import { supportedServiceTypesAndVersions } from './services/supportedVersions'; import { includeServices } from './services/common'; -export const version = '3.10.7'; +export const version = '3.10.8'; export const isDev = process.env.NODE_ENV === 'development'; const algorithm = 'aes-256-ctr'; diff --git a/apps/api/src/lib/services/handlers.ts b/apps/api/src/lib/services/handlers.ts index 227383f9a..e951004fa 100644 --- a/apps/api/src/lib/services/handlers.ts +++ b/apps/api/src/lib/services/handlers.ts @@ -1430,6 +1430,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_EXECUTOR_HOST=http://${id}-executor/v1`, `_APP_STATSD_HOST=${id}-telegraf`, "_APP_STATSD_PORT=8125", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1453,6 +1454,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1476,6 +1478,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1494,6 +1497,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_OPENSSL_KEY_V1=${opensslKeyV1}`, `_APP_REDIS_HOST=${id}-redis`, "_APP_REDIS_PORT=6379", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1527,6 +1531,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_PASS=${mariadbPassword}`, `_APP_EXECUTOR_SECRET=${executorSecret}`, `_APP_EXECUTOR_HOST=http://${id}-executor/v1`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1550,6 +1555,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1575,6 +1581,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1604,6 +1611,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1630,6 +1638,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_PASS=${mariadbPassword}`, `_APP_EXECUTOR_SECRET=${executorSecret}`, `_APP_EXECUTOR_HOST=http://${id}-executor/v1`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1654,6 +1663,7 @@ async function startAppWriteService(request: FastifyRequest) { environment: [ "_APP_ENV=production", `_APP_EXECUTOR_SECRET=${executorSecret}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1671,6 +1681,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_OPENSSL_KEY_V1=${opensslKeyV1}`, `_APP_REDIS_HOST=${id}-redis`, "_APP_REDIS_PORT=6379", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1687,6 +1698,7 @@ async function startAppWriteService(request: FastifyRequest) { "_APP_ENV=production", `_APP_REDIS_HOST=${id}-redis`, "_APP_REDIS_PORT=6379", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1711,6 +1723,7 @@ async function startAppWriteService(request: FastifyRequest) { `_APP_DB_SCHEMA=${mariadbDatabase}`, `_APP_DB_USER=${mariadbUser}`, `_APP_DB_PASS=${mariadbPassword}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1727,6 +1740,7 @@ async function startAppWriteService(request: FastifyRequest) { "_APP_ENV=production", `_APP_REDIS_HOST=${id}-redis`, "_APP_REDIS_PORT=6379", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1743,7 +1757,8 @@ async function startAppWriteService(request: FastifyRequest) { `MYSQL_ROOT_PASSWORD=${mariadbRootUserPassword}`, `MYSQL_USER=${mariadbUser}`, `MYSQL_PASSWORD=${mariadbPassword}`, - `MYSQL_DATABASE=${mariadbDatabase}` + `MYSQL_DATABASE=${mariadbDatabase}`, + `OPEN_RUNTIMES_NETWORK=${network}`, ], command: "mysqld --innodb-flush-method=fsync", ...defaultComposeConfiguration(network), @@ -1781,6 +1796,7 @@ async function startAppWriteService(request: FastifyRequest) { "_APP_INFLUXDB_PORT=8086", `_APP_REDIS_HOST=${id}-redis`, "_APP_REDIS_PORT=6379", + `OPEN_RUNTIMES_NETWORK=${network}`, ...secrets ], ...defaultComposeConfiguration(network), @@ -1799,6 +1815,7 @@ async function startAppWriteService(request: FastifyRequest) { environment: [ `_APP_INFLUXDB_HOST=${id}-influxdb`, "_APP_INFLUXDB_PORT=8086", + `OPEN_RUNTIMES_NETWORK=${network}`, ], ...defaultComposeConfiguration(network), } diff --git a/apps/api/src/lib/services/supportedVersions.ts b/apps/api/src/lib/services/supportedVersions.ts index 526f49379..485e89ecf 100644 --- a/apps/api/src/lib/services/supportedVersions.ts +++ b/apps/api/src/lib/services/supportedVersions.ts @@ -235,7 +235,7 @@ export const supportedServiceTypesAndVersions = [ // }, { name: 'grafana', - fancyName: 'Grafana Dashboard', + fancyName: 'Grafana', baseImage: 'grafana/grafana', images: [], versions: ['latest', '9.1.3', '9.1.2', '9.0.8', '8.3.11', '8.4.11', '8.5.11'], diff --git a/apps/ui/src/routes/services/[id]/logs/index.svelte b/apps/ui/src/routes/services/[id]/logs/index.svelte index 38fd6d254..67e2312fe 100644 --- a/apps/ui/src/routes/services/[id]/logs/index.svelte +++ b/apps/ui/src/routes/services/[id]/logs/index.svelte @@ -84,37 +84,6 @@ } -
-
-
- Service Logs -
- {service.name} -
- - {#if service.fqdn} - - - - - - - {/if} -
{#if logs.length === 0}
{$t('application.build.waiting_logs')}
@@ -150,9 +119,9 @@ Follow Logs
-
+
{#each logs as log} -

{log.line + '\n'}

+

{log + '\n'}

{/each}
diff --git a/apps/ui/src/routes/services/[id]/secrets.svelte b/apps/ui/src/routes/services/[id]/secrets.svelte index 3211804cc..e9c390e43 100644 --- a/apps/ui/src/routes/services/[id]/secrets.svelte +++ b/apps/ui/src/routes/services/[id]/secrets.svelte @@ -69,9 +69,6 @@
-

- Secrets -

diff --git a/apps/ui/src/routes/services/[id]/storages.svelte b/apps/ui/src/routes/services/[id]/storages.svelte index ee95583a5..b378ad3ae 100644 --- a/apps/ui/src/routes/services/[id]/storages.svelte +++ b/apps/ui/src/routes/services/[id]/storages.svelte @@ -35,43 +35,6 @@ } -
-
-
- Persistent Storage -
- {service.name} -
- {#if service.fqdn} - - - - - - - {/if} - - -
-
{#if isFqdnSet} - {/if} diff --git a/package.json b/package.json index 614321e62..a2e4cf306 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "3.10.7", + "version": "3.10.8", "license": "Apache-2.0", "repository": "github:coollabsio/coolify", "scripts": {