Skip to content

Commit

Permalink
- init new auth
Browse files Browse the repository at this point in the history
- init new login form validation
- add mongo as session storage
  • Loading branch information
viktor-silakov committed Aug 11, 2022
1 parent e229de5 commit 7e50de4
Show file tree
Hide file tree
Showing 11 changed files with 36,588 additions and 26 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ npm run clear
| `SYNGRISI_TEST_MODE` | + | + | Enables test admin user if equal `1`, used only for tests purposes | `0` |
| `SYNGRISI_DISABLE_FIRST_RUN` | + | + | Disable first run procedure, disabled if equal `1`, used only for tests purposes | `0` |
| `SYNGRISI_DISABLE_DEV_CORS` | + | - | Disable CORS for vite dev server, only for dev and test purposes | `-` |
| `SYNGRISI_SESSION_STORE_KEY` | + | + | A Secret for session storage | random generated |

## Devices list

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
SYNGRISI_TEST_MODE: "${SYNGRISI_TEST_MODE:-0}"
SYNGRISI_DISABLE_FIRST_RUN: "${SYNGRISI_DISABLE_FIRST_RUN:-0}"
SYNGRISI_PAGINATION_SIZE: "${SYNGRISI_PAGINATION_SIZE:-50}"
SYNGRISI_SESSION_STORE_KEY: "${SYNGRISI_SESSION_STORE_KEY}"
SYNGRISI_APP_PORT: 3000
healthcheck:
test: wget -q -O - http://syngrisi-app:3000/status | grep alive:true
Expand Down
Loading

0 comments on commit 7e50de4

Please sign in to comment.