chore: remove settings.template from config directory
This commit is contained in:
parent
a068717f64
commit
d7de1b3e01
@ -1,32 +0,0 @@
|
||||
common: &common
|
||||
username: "<username>"
|
||||
password: "<password>"
|
||||
type: "<service_type>"
|
||||
service_name: "<service_name>"
|
||||
git: &git_config
|
||||
repo_url: "<git_repo_url>"
|
||||
branch: "<branch_name>"
|
||||
local_path: "<local_git_path>"
|
||||
ssh: &ssh_config
|
||||
user: <ssh_user>
|
||||
key_path: "<ssh_key_path>"
|
||||
|
||||
odoo_instances:
|
||||
- name: "<instance_name_1>"
|
||||
host: "<instance_host_1>"
|
||||
port: <instance_port_1>
|
||||
database: "<instance_database_1>"
|
||||
modules:
|
||||
- "<module_1>"
|
||||
- "<module_2>"
|
||||
<<: *common # Inherit common settings
|
||||
|
||||
- name: "<instance_name_2>"
|
||||
host: "<instance_host_2>"
|
||||
port: <instance_port_2>
|
||||
database: "<instance_database_2>"
|
||||
modules:
|
||||
- "<module_4>"
|
||||
- "<module_5>"
|
||||
- "<module_6>"
|
||||
<<: *common # Inherit common settings
|
60
config/settings.yaml.template
Normal file
60
config/settings.yaml.template
Normal file
@ -0,0 +1,60 @@
|
||||
# Common configurations
|
||||
defaults: &defaults
|
||||
type: "<service_type>"
|
||||
|
||||
# Server configurations
|
||||
servers:
|
||||
server_name: &server_alias
|
||||
host: "<server_ip>"
|
||||
|
||||
# Database credentials
|
||||
db_credentials:
|
||||
credential_name: &cred_alias
|
||||
username: "<username>"
|
||||
password: "<password>"
|
||||
|
||||
# Service configurations
|
||||
services:
|
||||
service_name: &service_alias
|
||||
service_name: "<service_name>"
|
||||
|
||||
# SSH configurations
|
||||
ssh_configs:
|
||||
default: &ssh_default
|
||||
user: "<ssh_user>"
|
||||
key_path: "<path_to_ssh_key>"
|
||||
passphrase: "<ssh_passphrase>"
|
||||
|
||||
# Git configurations
|
||||
git_configs:
|
||||
default: &git_default
|
||||
username: "<git_username>"
|
||||
password: "<git_password>"
|
||||
|
||||
# Module groups
|
||||
module_groups:
|
||||
group_name: &modules_alias
|
||||
- "<module_name_1>"
|
||||
- "<module_name_2>"
|
||||
- "<module_name_3>"
|
||||
|
||||
# Repository configurations
|
||||
repositories:
|
||||
repo_name: &repo_alias
|
||||
repo_url: "<repository_url>"
|
||||
branch: "<branch_name>"
|
||||
local_path: "<local_path>"
|
||||
<<: *git_default
|
||||
|
||||
# Odoo instances
|
||||
odoo_instances:
|
||||
- name: "<instance_name>"
|
||||
database: "<database_name>"
|
||||
port: <port_number>
|
||||
modules: *modules_alias # or specific module list
|
||||
<<: *defaults
|
||||
<<: *server_alias
|
||||
<<: *cred_alias
|
||||
<<: *service_alias
|
||||
git: *repo_alias
|
||||
ssh: *ssh_default
|
Loading…
Reference in New Issue
Block a user