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
|
||||
- name: setup the database
|
||||
hosts: dbserver-stg
|
||||
hosts: db02.stg.phx2.fedoraproject.org
|
||||
gather_facts: no
|
||||
sudo: yes
|
||||
sudo_user: postgres
|
||||
|
|
|
@ -14,8 +14,8 @@ DATABASES = {
|
|||
'NAME': 'hyperkitty',
|
||||
'USER': 'hyperkittyadmin',
|
||||
'PASSWORD': '{{ mailman_hk_admin_db_pass }}',
|
||||
'HOST': 'localhost',
|
||||
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||
'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',
|
||||
'USER': 'hyperkittyapp',
|
||||
'PASSWORD': '{{ mailman_hk_db_pass }}',
|
||||
'HOST': 'localhost',
|
||||
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ LOGGING = {
|
|||
SECRET_KEY = '{{ mailman_hk_cookie_key }}'
|
||||
|
||||
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_DEBUG = False
|
||||
USE_MOCKUPS = False
|
||||
|
|
|
@ -21,7 +21,7 @@ pid_file: /run/mailman3/master.pid
|
|||
|
||||
[database]
|
||||
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]
|
||||
class: hyperkitty.archiver.Archiver
|
||||
|
|
|
@ -14,8 +14,8 @@ DATABASES = {
|
|||
'NAME': 'postorius',
|
||||
'USER': 'postoriusadmin',
|
||||
'PASSWORD': '{{ mailman_ps_admin_db_pass }}',
|
||||
'HOST': 'localhost',
|
||||
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||
'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',
|
||||
'USER': 'postoriusapp',
|
||||
'PASSWORD': '{{ mailman_ps_db_pass }}',
|
||||
'HOST': 'localhost',
|
||||
'HOST': 'db02.stg.phx2.fedoraproject.org',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue