전용 아이콘 바이트를 모두 검증한 뒤 sam-image 서명 API에 결정적 경로로 등록한다. API 반환 경로를 계정과 아이콘 소유 목록에 연결하고 Core에서 바뀐 현재 선택은 보존한다.
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"version": 1,
|
|
"sourceSet": "ref-production-cutover",
|
|
"gateway": {
|
|
"source": {
|
|
"host": "mysql.internal.example",
|
|
"port": 3306,
|
|
"database": "sammo_root",
|
|
"user": "sammo_migration",
|
|
"passwordFile": "./secrets/mysql-root-password",
|
|
"tls": true
|
|
},
|
|
"userIcons": {
|
|
"sourceDirectory": "/run/sammo-migration/user-icons",
|
|
"uploadBaseUrl": "https://sam-image.hided.net",
|
|
"publicBaseUrl": "https://sam-image.hided.net/icons",
|
|
"uploadSecretFile": "/run/secrets/image_upload_core2026_secret"
|
|
},
|
|
"targetUrlEnv": "GATEWAY_DATABASE_URL"
|
|
},
|
|
"profiles": [
|
|
{
|
|
"profile": "che",
|
|
"source": {
|
|
"host": "mysql.internal.example",
|
|
"port": 3306,
|
|
"database": "sammo_che",
|
|
"user": "sammo_migration",
|
|
"passwordFile": "./secrets/mysql-che-password",
|
|
"tls": true
|
|
},
|
|
"battleResults": {
|
|
"sshHost": "serv",
|
|
"directory": "/home/letrhee/web_symlinks/sam_hided_net/sam/che/logs/preserved"
|
|
},
|
|
"targetUrlEnv": "CHE_GAME_DATABASE_URL"
|
|
},
|
|
{
|
|
"profile": "hwe",
|
|
"enabled": false,
|
|
"source": {
|
|
"host": "mysql.internal.example",
|
|
"port": 3306,
|
|
"database": "sammo_hwe",
|
|
"user": "sammo_migration",
|
|
"passwordEnv": "LEGACY_HWE_DATABASE_PASSWORD"
|
|
},
|
|
"targetUrlEnv": "HWE_GAME_DATABASE_URL"
|
|
}
|
|
]
|
|
}
|