From 6fe5679655a46fb4bb5d5af624954292eb67d73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:02:59 +0100 Subject: [PATCH] fix --- conf/.env | 35 +++++++++++++++++++++++++++++++++++ conf/systemd.service | 1 + doc/POST_INSTALL.md | 1 - doc/POST_INSTALL_fr.md | 1 - manifest.toml | 3 +++ 5 files changed, 39 insertions(+), 2 deletions(-) delete mode 100644 doc/POST_INSTALL.md delete mode 100644 doc/POST_INSTALL_fr.md diff --git a/conf/.env b/conf/.env index 81ed846..6835fc2 100644 --- a/conf/.env +++ b/conf/.env @@ -13,3 +13,38 @@ OCIS_LOG_LEVEL=warn OCIS_CONFIG_DIR=__INSTALL_DIR__ ADMIN_PASSWORD=__PASSWORD__ + + + + +OCIS_URL: https://__DOMAIN__ +PROXY_HTTP_ADDR= 127.0.0.1:__PORT__ + +OCIS_LOG_LEVEL: info + +OCIS_LOG_COLOR: false +PROXY_TLS: false +OCIS_INSECURE: true +PROXY_ENABLE_BASIC_AUTH: false + +# admin user password +IDM_ADMIN_PASSWORD: __ADMIN__ # this overrides the admin password from the configuration file + +# demo users +IDM_CREATE_DEMO_USERS: false +NOTIFICATIONS_SMTP_HOST: inbucket +NOTIFICATIONS_SMTP_PORT: 2500 +NOTIFICATIONS_SMTP_SENDER: oCIS notifications +NOTIFICATIONS_SMTP_USERNAME: notifications@${OCIS_DOMAIN:-ocis.owncloud.test} +NOTIFICATIONS_SMTP_INSECURE: true # the mail catcher uses self signed certificates + +# activate s3ng storage driver +STORAGE_USERS_DRIVER: s3ng +STORAGE_SYSTEM_DRIVER: ocis # keep system data on ocis storage since this are only small files atm + +# s3ng specific settings +STORAGE_USERS_S3NG_ENDPOINT: http://minio:9000 +STORAGE_USERS_S3NG_REGION: default +STORAGE_USERS_S3NG_ACCESS_KEY: +STORAGE_USERS_S3NG_SECRET_KEY: +STORAGE_USERS_S3NG_BUCKET: ocis-bucket \ No newline at end of file diff --git a/conf/systemd.service b/conf/systemd.service index b5130f1..ef03817 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,6 +7,7 @@ User=__APP__ Group=__APP__ Environment=OCIS_BASE_DATA_PATH=__DATA_DIR__ Environment=PROXY_HTTP_ADDR=127.0.0.1:__PORT__ +Environment=IDM_ADMIN_PASSWORD: __ADMIN__ Environment=OCIS_URL=https://__DOMAIN__ ExecStart=__INSTALL_DIR__/ocis server Restart=always diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md deleted file mode 100644 index 6687031..0000000 --- a/doc/POST_INSTALL.md +++ /dev/null @@ -1 +0,0 @@ -Connect to ownCloud with `admin` as a username and the password selected at install. \ No newline at end of file diff --git a/doc/POST_INSTALL_fr.md b/doc/POST_INSTALL_fr.md deleted file mode 100644 index cbee989..0000000 --- a/doc/POST_INSTALL_fr.md +++ /dev/null @@ -1 +0,0 @@ -Connectez-vous à ownCloud avec « admin » comme nom d'utilisateur et le mot de passe sélectionné lors de l'installation. \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index b5ab0f9..b056140 100644 --- a/manifest.toml +++ b/manifest.toml @@ -37,6 +37,9 @@ ram.runtime = "50M" type = "group" default = "visitors" + [install.admin] + type = "user" + [install.password] type = "password"