Created
April 19, 2020 17:59
-
-
Save qunabu/5c62c28de56c0903fe9404d3090a15c9 to your computer and use it in GitHub Desktop.
Strapi test database enviroment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"defaultConnection": "default", | |
"connections": { | |
"default": { | |
"connector": "bookshelf", | |
"settings": { | |
"client": "sqlite", | |
"filename": ".tmp/test.db", | |
"host": "${process.env.DATABASE_HOST || '127.0.0.1'}", | |
"port": "${process.env.DATABASE_PORT || 27017}", | |
"database": "${process.env.DATABASE_NAME || 'strapi'}", | |
"username": "${process.env.DATABASE_USERNAME || ''}", | |
"password": "${process.env.DATABASE_PASSWORD || ''}" | |
}, | |
"options": {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment