Skip to content

Commit

Permalink
Switch Pulp to use sqlite3 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bouterse authored and daviddavis committed Mar 1, 2018
1 parent f5a7dd3 commit 5575dca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pulpcore/pulpcore/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
'databases': {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'pulp',
'USER': 'pulp',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '',
'USER': '',
'CONN_MAX_AGE': 0,
},
},
Expand Down
8 changes: 4 additions & 4 deletions pulpcore/pulpcore/etc/pulp/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
# shipped with your version of Django, or online at
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
#
# By default, Pulp will attempt to connect to PostgreSQL on a local Unix
# socket using the 'pulp' user with a database name of 'pulp'.
# By default, Pulp will use a sqlite3 database. If your environment is used in production
# consider configuring Postgresql or another Django supported database.
#
# databases:
# default:
# CONN_MAX_AGE: 0
# ENGINE: django.db.backends.postgresql_psycopg2
# ENGINE: django.db.backends.sqlite3
# NAME: pulp
# USER: pulp
# USER:
# PASSWORD:
# HOST:
# PORT:
Expand Down

0 comments on commit 5575dca

Please sign in to comment.