feat: pre-seed admin user

This commit is contained in:
2026-08-18 17:52:12 +02:00
parent 472f04b98c
commit 4fdab81b9c
2 changed files with 11 additions and 2 deletions
+7 -2
View File
@@ -4,8 +4,13 @@ coolify_installer_dest: "/tmp/coolify-install.sh"
coolify_data_dir: "/data/coolify"
coolify_compose_file: "{{ coolify_data_dir }}/source/docker-compose.yml"
## Pin to a release (e.g. "v4.0.0") or leave empty for latest.
## Pin to a release or leave empty for latest
coolify_version: ""
## Coolify self-updates by default; set false to manage upgrades yourself.
## Set to false to manage upgrades manually
coolify_autoupdate: true
## All 3 needed for sucessful user creation
coolify_root_username: ""
coolify_root_user_email: ""
coolify_root_user_password: ""
+4
View File
@@ -19,7 +19,11 @@
- "{{ coolify_version }}"
environment:
AUTOUPDATE: "{{ coolify_autoupdate | bool | ternary('true', 'false') }}"
ROOT_USERNAME: "{{ coolify_root_username }}"
ROOT_USER_EMAIL: "{{ coolify_root_user_email }}"
ROOT_USER_PASSWORD: "{{ coolify_root_user_password }}"
when: not coolify_installed.stat.exists
changed_when: true
async: 1800
poll: 15
no_log: true