mirror of
https://github.com/louislam/dockge.git
synced 2026-05-22 14:32:16 +00:00
wip
This commit is contained in:
9
extra/templates/mariadb/compose.yaml
Normal file
9
extra/templates/mariadb/compose.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 3306:3306
|
||||||
|
environment:
|
||||||
|
- MARIADB_ROOT_PASSWORD=123456
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-show="false">
|
<div>
|
||||||
<form class="my-4" autocomplete="off" @submit.prevent="saveGeneral">
|
<form class="my-4" autocomplete="off" @submit.prevent="saveGeneral">
|
||||||
<!-- Client side Timezone -->
|
<!-- Client side Timezone -->
|
||||||
<div class="mb-4">
|
<div v-if="false" class="mb-4">
|
||||||
<label for="timezone" class="form-label">
|
<label for="timezone" class="form-label">
|
||||||
{{ $t("Display Timezone") }}
|
{{ $t("Display Timezone") }}
|
||||||
</label>
|
</label>
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Server Timezone -->
|
<!-- Server Timezone -->
|
||||||
<div class="mb-4">
|
<div v-if="false" class="mb-4">
|
||||||
<label for="timezone" class="form-label">
|
<label for="timezone" class="form-label">
|
||||||
{{ $t("Server Timezone") }}
|
{{ $t("Server Timezone") }}
|
||||||
</label>
|
</label>
|
||||||
@@ -49,6 +49,9 @@
|
|||||||
class="form-control"
|
class="form-control"
|
||||||
placeholder="localhost"
|
placeholder="localhost"
|
||||||
/>
|
/>
|
||||||
|
<button class="btn btn-outline-primary" type="button" @click="autoGetPrimaryHostname">
|
||||||
|
{{ $t("Auto Get") }}
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-text"></div>
|
<div class="form-text"></div>
|
||||||
@@ -102,14 +105,8 @@ export default {
|
|||||||
this.saveSettings();
|
this.saveSettings();
|
||||||
},
|
},
|
||||||
/** Get the base URL of the application */
|
/** Get the base URL of the application */
|
||||||
autoGetPrimaryBaseURL() {
|
autoGetPrimaryHostname() {
|
||||||
this.settings.primaryBaseURL = location.protocol + "//" + location.host;
|
this.settings.primaryHostname = location.hostname;
|
||||||
},
|
|
||||||
|
|
||||||
testChrome() {
|
|
||||||
this.$root.getSocket().emit("testChrome", this.settings.chromeExecutable, (res) => {
|
|
||||||
this.$root.toastRes(res);
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user