update database
This commit is contained in:
parent
f73ba7f1a2
commit
78381d2e14
2 changed files with 4 additions and 3 deletions
|
@ -189,6 +189,7 @@
|
|||
name: mastodon_postgresql_1
|
||||
state: started
|
||||
|
||||
# CREATE USER mastodon CREATEDB;
|
||||
- name: Set up database
|
||||
shell: "docker-compose -f '{{ mastodon_composer_folder }}/docker-compose.yml' run --rm shell bundle exec rake db:setup && echo 'Database ready' > /var/lib/mastodon_db_setup"
|
||||
args:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# postgresql configuration
|
||||
POSTGRES_USER=mastodon
|
||||
POSTGRES_DB=mastodon_production
|
||||
POSTGRES_PASSWORD=O6lOD6nF2LbhhJs1e7QL
|
||||
POSTGRES_USER={{ mastodon_db_user }}
|
||||
POSTGRES_DB={{ mastodon_db }}
|
||||
POSTGRES_PASSWORD={{ mastodon_db_password }}
|
||||
|
||||
# pgbouncer configuration
|
||||
#POOL_MODE=transaction
|
||||
|
|
Loading…
Reference in a new issue