feat: pre-seed admin user
This commit is contained in:
@@ -4,8 +4,13 @@ coolify_installer_dest: "/tmp/coolify-install.sh"
|
|||||||
coolify_data_dir: "/data/coolify"
|
coolify_data_dir: "/data/coolify"
|
||||||
coolify_compose_file: "{{ coolify_data_dir }}/source/docker-compose.yml"
|
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_version: ""
|
||||||
|
|
||||||
## Coolify self-updates by default; set false to manage upgrades yourself.
|
## Set to false to manage upgrades manually
|
||||||
coolify_autoupdate: true
|
coolify_autoupdate: true
|
||||||
|
|
||||||
|
## All 3 needed for sucessful user creation
|
||||||
|
coolify_root_username: ""
|
||||||
|
coolify_root_user_email: ""
|
||||||
|
coolify_root_user_password: ""
|
||||||
|
|||||||
@@ -19,7 +19,11 @@
|
|||||||
- "{{ coolify_version }}"
|
- "{{ coolify_version }}"
|
||||||
environment:
|
environment:
|
||||||
AUTOUPDATE: "{{ coolify_autoupdate | bool | ternary('true', 'false') }}"
|
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
|
when: not coolify_installed.stat.exists
|
||||||
changed_when: true
|
changed_when: true
|
||||||
async: 1800
|
async: 1800
|
||||||
poll: 15
|
poll: 15
|
||||||
|
no_log: true
|
||||||
|
|||||||
Reference in New Issue
Block a user