Use db02.stg as a DB server
This commit is contained in:
parent
9fa31f6305
commit
c790d0b90d
6 changed files with 9 additions and 9 deletions
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
# Database setup
|
# Database setup
|
||||||
- name: setup the database
|
- name: setup the database
|
||||||
hosts: dbserver-stg
|
hosts: db02.stg.phx2.fedoraproject.org
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
sudo: yes
|
sudo: yes
|
||||||
sudo_user: postgres
|
sudo_user: postgres
|
||||||
|
|
|
@ -14,8 +14,8 @@ DATABASES = {
|
||||||
'NAME': 'hyperkitty',
|
'NAME': 'hyperkitty',
|
||||||
'USER': 'hyperkittyadmin',
|
'USER': 'hyperkittyadmin',
|
||||||
'PASSWORD': '{{ mailman_hk_admin_db_pass }}',
|
'PASSWORD': '{{ mailman_hk_admin_db_pass }}',
|
||||||
'HOST': 'localhost',
|
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||||
'PORT': '',
|
'PORT': '',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
KITTYSTORE_URL = 'postgres://kittystoreadmin:{{ mailman_ks_admin_db_pass }}@localhost/kittystore'
|
KITTYSTORE_URL = 'postgres://kittystoreadmin:{{ mailman_ks_admin_db_pass }}@db02.stg.phx2.fedoraproject.org/kittystore'
|
||||||
|
|
|
@ -14,7 +14,7 @@ DATABASES = {
|
||||||
'NAME': 'hyperkitty',
|
'NAME': 'hyperkitty',
|
||||||
'USER': 'hyperkittyapp',
|
'USER': 'hyperkittyapp',
|
||||||
'PASSWORD': '{{ mailman_hk_db_pass }}',
|
'PASSWORD': '{{ mailman_hk_db_pass }}',
|
||||||
'HOST': 'localhost',
|
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||||
'PORT': '',
|
'PORT': '',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ LOGGING = {
|
||||||
SECRET_KEY = '{{ mailman_hk_cookie_key }}'
|
SECRET_KEY = '{{ mailman_hk_cookie_key }}'
|
||||||
|
|
||||||
APP_NAME = 'Fedora list archives'
|
APP_NAME = 'Fedora list archives'
|
||||||
KITTYSTORE_URL = 'postgres://kittystoreapp:{{ mailman_ks_db_pass }}@localhost/kittystore'
|
KITTYSTORE_URL = 'postgres://kittystoreapp:{{ mailman_ks_db_pass }}@db02.stg.phx2.fedoraproject.org/kittystore'
|
||||||
KITTYSTORE_SEARCH_INDEX = '/var/lib/hyperkitty/sites/default/kittystore_search_index'
|
KITTYSTORE_SEARCH_INDEX = '/var/lib/hyperkitty/sites/default/kittystore_search_index'
|
||||||
KITTYSTORE_DEBUG = False
|
KITTYSTORE_DEBUG = False
|
||||||
USE_MOCKUPS = False
|
USE_MOCKUPS = False
|
||||||
|
|
|
@ -21,7 +21,7 @@ pid_file: /run/mailman3/master.pid
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
class: mailman.database.postgresql.PostgreSQLDatabase
|
class: mailman.database.postgresql.PostgreSQLDatabase
|
||||||
url: postgres://mailmanadmin:{{ mailman_mm_db_pass }}@localhost/mailman
|
url: postgres://mailmanadmin:{{ mailman_mm_db_pass }}@db02.stg.phx2.fedoraproject.org/mailman
|
||||||
|
|
||||||
[archiver.hyperkitty]
|
[archiver.hyperkitty]
|
||||||
class: hyperkitty.archiver.Archiver
|
class: hyperkitty.archiver.Archiver
|
||||||
|
|
|
@ -14,8 +14,8 @@ DATABASES = {
|
||||||
'NAME': 'postorius',
|
'NAME': 'postorius',
|
||||||
'USER': 'postoriusadmin',
|
'USER': 'postoriusadmin',
|
||||||
'PASSWORD': '{{ mailman_ps_admin_db_pass }}',
|
'PASSWORD': '{{ mailman_ps_admin_db_pass }}',
|
||||||
'HOST': 'localhost',
|
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||||
'PORT': '',
|
'PORT': '',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
KITTYSTORE_URL = 'postgres://kittystoreadmin:{{ mailman_ks_admin_db_pass }}@localhost/kittystore'
|
KITTYSTORE_URL = 'postgres://kittystoreadmin:{{ mailman_ks_admin_db_pass }}@db02.stg.phx2.fedoraproject.org/kittystore'
|
||||||
|
|
|
@ -15,7 +15,7 @@ DATABASES = {
|
||||||
'NAME': 'postorius',
|
'NAME': 'postorius',
|
||||||
'USER': 'postoriusapp',
|
'USER': 'postoriusapp',
|
||||||
'PASSWORD': '{{ mailman_ps_db_pass }}',
|
'PASSWORD': '{{ mailman_ps_db_pass }}',
|
||||||
'HOST': 'localhost',
|
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||||
'PORT': '',
|
'PORT': '',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue