mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: update document, accept env from shell in prod
This commit is contained in:
1 parent
33582a4827
commit
6e7597dca0
2 files changed
+2
-1
No files matched your search
@@ -50,6 +50,7 @@ To enable social login, you should have OAuth client token in a `.env` file:
|
||||
You can copy from `example.env`
|
||||
|
||||
# .env
|
||||
BASE_URL=https://example.com
|
||||
GOOGLE_CLIENT_ID=...
|
||||
GOOGLE_CLIENT_SECRET=...
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
- mongo:/data/db
|
||||
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
|
||||
environment:
|
||||
- BASE_URL=https://example.com
|
||||
- BASE_URL=${BASE_URL}
|
||||
- MONGO_INITDB_ROOT_USERNAME=admin
|
||||
- MONGO_INITDB_ROOT_PASSWORD=admin-password
|
||||
- MONGO_USER=user
|
||||
|
||||
Reference in new issue
Block a user