diff --git a/blueprints/silex/docker-compose.yml b/blueprints/silex/docker-compose.yml new file mode 100644 index 00000000..bc821dca --- /dev/null +++ b/blueprints/silex/docker-compose.yml @@ -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: diff --git a/blueprints/silex/logo.png b/blueprints/silex/logo.png new file mode 100644 index 00000000..1a6544f9 Binary files /dev/null and b/blueprints/silex/logo.png differ diff --git a/blueprints/silex/meta.json b/blueprints/silex/meta.json new file mode 100644 index 00000000..d1d046f8 --- /dev/null +++ b/blueprints/silex/meta.json @@ -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" + ] +} diff --git a/blueprints/silex/template.toml b/blueprints/silex/template.toml new file mode 100644 index 00000000..606a1eff --- /dev/null +++ b/blueprints/silex/template.toml @@ -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}"