chore: update Gitea configuration and migration script for production
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
17c9a1b16f
commit
5b8429d883
@ -463,7 +463,7 @@ gitea:
|
||||
admin:
|
||||
# existingSecret: gitea-admin-secret
|
||||
existingSecret:
|
||||
username: freeleaps
|
||||
username: freeleaps-admin
|
||||
password: r8sA8CPHD9!bt6d
|
||||
email: "helpdesk@freeleaps.com"
|
||||
passwordMode: keepUpdated
|
||||
|
||||
@ -68,11 +68,11 @@ devsvc:
|
||||
serviceApiAccessPort: 8007
|
||||
mongodbName: freeleaps2
|
||||
mongodbUri: mongodb+srv://freeadmin:0eMV0bt8oyaknA0m@freeleaps2.zmsmpos.mongodb.net/?retryWrites=true&w=majority
|
||||
giteaToken: 232d9d20128e894a96fbc6f62b3ff54fdadef776
|
||||
giteaUrl: https://freeleaps.com:3443
|
||||
giteaToken: 87f8cf4bf9e6b7beb422967e079fadbdfb70e0be
|
||||
giteaUrl: http://freeleaps-prod-gitea-http.freeleaps-prod.svc.freeleaps.cluster:3000
|
||||
giteaDepotOrganization: products
|
||||
codeDepotHttpPort: 3443
|
||||
codeDepotHttpPort: 443
|
||||
codeDepotSshPort: 22
|
||||
codeDepotDomainName: freeleaps.com
|
||||
codeDepotDomainName: gitea.freeleaps.mathmast.com
|
||||
metricsEnabled: "true"
|
||||
probesEnabled: "true"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
LOAD DATABASE
|
||||
FROM '/tmp/gitea-alpha.db'
|
||||
INTO postgresql://gitea:r8sA8CPHD9!bt6d@localhost:5432/gitea
|
||||
FROM '/home/yaid/projects/groovy/freeleaps.com/freeleaps-ops/gitea.db'
|
||||
INTO postgresql://postgres:X9H2*9M2ZWYmuZ@localhost:5432/gitea
|
||||
|
||||
WITH data only,
|
||||
include no drop,
|
||||
@ -9,4 +9,4 @@ WITH data only,
|
||||
no truncate,
|
||||
batch rows = 1
|
||||
|
||||
excluding table names like 'app_state','oauth2_application','oauth2_authorization_code','oauth2_grant','system_setting','version';
|
||||
excluding table names like 'app_state','oauth2_application','oauth2_authorization_code','oauth2_grant','system_setting','version','notice';
|
||||
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:383c0f2fdb4303ce4d6160cd910c193515ac86d261e8732aa2798e6a878047fd
|
||||
size 547621
|
||||
Loading…
Reference in New Issue
Block a user