feat(fnos): add app package and release integration
This commit is contained in:
22 files changed
+841
-3
No files matched your search
@@ -0,0 +1,16 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
dbx:
|
||||
image: __DBX_IMAGE__
|
||||
container_name: dbx-fnos
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${TRIM_SERVICE_PORT}:4224"
|
||||
volumes:
|
||||
- "${TRIM_PKGVAR}:/app/data"
|
||||
- "${TRIM_PKGVAR}/backups:/app/backups"
|
||||
environment:
|
||||
DBX_DATA_DIR: /app/data
|
||||
DBX_BACKUP_ROOT: /app/backups
|
||||
stop_grace_period: 90s
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
".url": {
|
||||
"dbx.Application": {
|
||||
"title": "DBX",
|
||||
"icon": "images/icon_{0}.png",
|
||||
"type": "url",
|
||||
"protocol": "http",
|
||||
"port": "4224",
|
||||
"url": "/",
|
||||
"allUsers": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
container_name="dbx-fnos"
|
||||
|
||||
case "$1" in
|
||||
start|stop)
|
||||
exit 0
|
||||
;;
|
||||
status)
|
||||
if [ "$(docker inspect --format '{{.State.Status}}' "$container_name" 2>/dev/null)" = "running" ]; then
|
||||
exit 0
|
||||
fi
|
||||
exit 3
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaults": {
|
||||
"run-as": "package"
|
||||
},
|
||||
"username": "dbx",
|
||||
"groupname": "dbx"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"docker-project": {
|
||||
"projects": [
|
||||
{
|
||||
"name": "dbx",
|
||||
"path": "docker"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
appname = dbx
|
||||
version = __DBX_VERSION__
|
||||
display_name = DBX
|
||||
desc = 现代化的开源数据库管理工具,支持多种数据库和数据服务。
|
||||
platform = all
|
||||
source = thirdparty
|
||||
maintainer = t8y2
|
||||
maintainer_url = https://dbxio.com
|
||||
distributor = t8y2
|
||||
distributor_url = https://dbxio.com
|
||||
desktop_uidir = ui
|
||||
desktop_applaunchname = dbx.Application
|
||||
service_port = 4224
|
||||
checkport = true
|
||||
ctl_stop = true
|
||||
changelog = __DBX_CHANGELOG__
|
||||
Reference in new issue
Block a user