Migrating to postgresql

This commit is contained in:
Daniel Mason 2021-12-25 22:24:47 +13:00
parent 97a6087e42
commit 6c52aa7d78
47 changed files with 332 additions and 308 deletions

View file

@ -2,6 +2,7 @@
- Split frontend/backend code into separate repos (https://gitlab.com/goscrobble/goscrobble-web)
- Added new ENV VARS to support unique configurations: DATA_DIRECTORY, FRONTEND_DIRECTORY, API_DOCS_DIRECTORY
- Started API documentation @ /docs (https://goscrobble.com/docs/)
- Added docker-compose file for local development!
# 0.0.33
- Add mod permission

View file

@ -1,5 +1,5 @@
## Timezones
GoScrobble runs as UTC and connects to MySQL as UTC. All timezone handling is done in the frontend.
GoScrobble runs as UTC and connects to postgres as UTC. All timezone handling is done in the frontend.
## FRONTEND VARS
These are stored in `web/.env.production` and `web/.env.development`
@ -8,10 +8,10 @@ These are stored in `web/.env.production` and `web/.env.development`
## BACKEND VARS
MYSQL_HOST= // MySQL Server
MYSQL_USER= // MySQL User
MYSQL_PASS= // MySQL Password
MYSQL_DB= // MySQL Database
POSTGRES_HOST= // postgres Server
POSTGRES_USER= // postgres User
POSTGRES_PASS= // postgres Password
POSTGRES_DB= // postgres Database
REDIS_HOST=127.0.0.1 // Redis host
REDIS_PORT= // Redis port (defaults 6379)