mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 03:15:23 +02:00
Merge pull request #1021 from Dokploy/feat/silex
feat: add Silex template
This commit is contained in:
20
blueprints/silex/docker-compose.yml
Normal file
20
blueprints/silex/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
silex:
|
||||
image: silexlabs/silex:3.7.0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 6805
|
||||
environment:
|
||||
- SILEX_URL=${SILEX_URL}
|
||||
- SILEX_SESSION_SECRET=${SILEX_SESSION_SECRET}
|
||||
- STORAGE_CONNECTORS=fs
|
||||
- HOSTING_CONNECTORS=fs,download
|
||||
- SILEX_FS_ROOT=/silex/silex/storage
|
||||
- SILEX_FS_HOSTING_ROOT=/silex/silex/hosting
|
||||
volumes:
|
||||
- silex-storage:/silex/silex/storage
|
||||
- silex-hosting:/silex/silex/hosting
|
||||
|
||||
volumes:
|
||||
silex-storage:
|
||||
silex-hosting:
|
||||
BIN
blueprints/silex/logo.png
Normal file
BIN
blueprints/silex/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
17
blueprints/silex/meta.json
Normal file
17
blueprints/silex/meta.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "silex",
|
||||
"name": "Silex",
|
||||
"version": "3.7.0",
|
||||
"description": "Silex is a free and open-source website builder for professional designers. It lets you create static websites visually with a drag-and-drop editor, custom CSS and JavaScript, and publish them anywhere.",
|
||||
"logo": "logo.png",
|
||||
"links": {
|
||||
"github": "https://github.com/silexlabs/Silex",
|
||||
"website": "https://www.silex.me",
|
||||
"docs": "https://docs.silex.me"
|
||||
},
|
||||
"tags": [
|
||||
"website-builder",
|
||||
"no-code",
|
||||
"static-site"
|
||||
]
|
||||
}
|
||||
13
blueprints/silex/template.toml
Normal file
13
blueprints/silex/template.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
session_secret = "${password:32}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "silex"
|
||||
port = 6805
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
SILEX_URL = "http://${main_domain}"
|
||||
SILEX_SESSION_SECRET = "${session_secret}"
|
||||
Reference in New Issue
Block a user