Files
obs-deploy/inventories.example/obs.yml
2025-11-13 15:56:45 +08:00

54 lines
1.1 KiB
YAML

obs:
children:
obs_frontend:
hosts:
host-01:
vars:
DB_NAME: &API_DB_NAME api_production
DB_USER: &API_DB_USER obsapiuser
DB_PASSWD: &API_DB_PASSWD obapipwd
WEB_EXT_PROTOCOL: https
WEB_EXT_HOST: obs.example.com
WEB_EXT_PORT: 443
PORT: 80
obs_repo:
hosts:
host-02:
vars:
PORT: 5252
REPO_PORT: 80
obs_source:
hosts:
host-03:
vars:
# Source Server
SRC_PORT: 5352
# Source Service Server
SRV_PORT: 5152
obs_db:
hosts:
host-04:
vars:
DB_ROOT_PASSWD: OERV_Internal
DB_INIT_NAME: *API_DB_NAME
DB_INIT_USER: *API_DB_USER
DB_INIT_PASSWD: *API_DB_PASSWD
PORT: 3306
obs_worker:
hosts:
host-05:
PORT: 15252
ID: stl-9950x
LABEL: QEMU_USER,DOCKER
JOBS: 32
ARCH: riscv64
host-06:
PORT: 15252
ID: epyc-01
LABEL: QEMU_USER,DOCKER
JOBS: 8
ARCH: riscv64
vars:
vars:
OBS_DEPLOY_LOCATION: /srv/obs_deployment