diff --git a/blueprints/alarik/alarik.png b/blueprints/alarik/alarik.png new file mode 100644 index 00000000..cc05be94 Binary files /dev/null and b/blueprints/alarik/alarik.png differ diff --git a/blueprints/alarik/docker-compose.yml b/blueprints/alarik/docker-compose.yml new file mode 100644 index 00000000..b66fcd9b --- /dev/null +++ b/blueprints/alarik/docker-compose.yml @@ -0,0 +1,30 @@ +services: + alarik: + image: ghcr.io/achtungsoftware/alarik:latest + restart: unless-stopped + volumes: + - alarik-storage:/app/Storage + environment: + - API_BASE_URL=${API_BASE_URL} + - CONSOLE_BASE_URL=${CONSOLE_BASE_URL} + - ADMIN_USERNAME=${ADMIN_USERNAME} + - ADMIN_PASSWORD=${ADMIN_PASSWORD} + - JWT=${JWT} + - ALLOW_ACCOUNT_CREATION=${ALLOW_ACCOUNT_CREATION} + expose: + - 8080 + + console: + image: ghcr.io/achtungsoftware/alarik-console:latest + restart: unless-stopped + environment: + - NUXT_PUBLIC_API_BASE_URL=${API_BASE_URL} + - NUXT_PUBLIC_CONSOLE_BASE_URL=${CONSOLE_BASE_URL} + - NUXT_PUBLIC_ALLOW_ACCOUNT_CREATION=${ALLOW_ACCOUNT_CREATION} + expose: + - 3000 + depends_on: + - alarik + +volumes: + alarik-storage: diff --git a/blueprints/alarik/template.toml b/blueprints/alarik/template.toml new file mode 100644 index 00000000..df28f2ad --- /dev/null +++ b/blueprints/alarik/template.toml @@ -0,0 +1,26 @@ +[variables] +console_domain = "${domain}" +api_domain = "${domain}" + +[config] +mounts = [] + +# S3-compatible API - point AWS CLI / SDKs / rclone / backup tools at this domain +[[config.domains]] +serviceName = "alarik" +port = 8_080 +host = "${api_domain}" + +# Web management console - log in with the generated admin credentials below +[[config.domains]] +serviceName = "console" +port = 3_000 +host = "${console_domain}" + +[config.env] +API_BASE_URL = "http://${api_domain}" +CONSOLE_BASE_URL = "http://${console_domain}" +ADMIN_USERNAME = "alarik" +ADMIN_PASSWORD = "${password:16}" +JWT = "${base64:64}" +ALLOW_ACCOUNT_CREATION = "false" diff --git a/meta.json b/meta.json index 361203fd..ce662453 100644 --- a/meta.json +++ b/meta.json @@ -161,6 +161,23 @@ "self-hosted" ] }, + { + "id": "alarik", + "name": "Alarik", + "description": "Alarik is a high-performance, S3-compatible object storage.", + "logo": "alarik.png", + "version": "latest", + "links": { + "github": "https://github.com/achtungsoftware/alarik", + "website": "https://alarik.io/", + "docs": "https://alarik.io/docs" + }, + "tags": [ + "storage", + "s3", + "object-storage" + ] + }, { "id": "alist", "name": "AList",