You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will run Goof locally, using a local mongo on the default port and listening on port 3001 (http://localhost:3001)
22
22
23
-
Note: You *have* to use an old version of MongoDB version due to some of these old libraries' database server APIs. MongoDB 3 is known to work ok.
23
+
`ADMIN_USERNAME` is required to seed the admin account; if `ADMIN_PASSWORD` is unset a random one is generated and printed at startup. Set `SESSION_SECRET` for a stable session-signing key, and `TLS_KEY`/`TLS_CERT` to serve over HTTPS. MySQL credentials are read from `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASSWORD` and `MYSQL_DATABASE`.
24
+
25
+
Note: MongoDB 4.0 or newer is required by the current mongoose version.
24
26
25
27
You can also run the MongoDB server individually via Docker, such as:
26
28
27
29
```sh
28
-
docker run --rm -p 27017:27017 mongo:3
30
+
docker run --rm -p 27017:27017 mongo:6
29
31
```
30
32
31
33
## Running with docker-compose
@@ -85,7 +87,7 @@ The form is completely functional. The way it works is, it receives the profile
85
87
You'd think that what's the worst that can happen because we use a validation to confirm the expected input, however the validation doesn't take into account a new field that can be added to the object, such as `layout`, which when passed to a template language, could lead to Local File Inclusion (Path Traversal) vulnerabilities. Here is a proof-of-concept showing it:
0 commit comments