Comments (6)
I've already updated the .env.example. Could you please specify what additional information is needed?
from document-center-be.
I think it needs some example values in the docker-compose file and environment variables to work, for example:
MINIO_ENDPOINT=localhost
MINIO_ACCESS_KEY=ERSTY*(&^YDRTGFGHOR&TYKDCGH
MINIO_SECRET_KEY=*&UYGUYIYFUJCGHY*(YU
The PostgreSQL configuration was well done:
POSTGRES_PASSWORD=password
POSTGRES_USER=user
POSTGRES_DB=db
DATABASE_URL=postgresql://user:password@localhost:5436/db
Also, I remember that MINIO_ROOT_USER
and MINIO_ROOT_PASSWORD
are not necessarily needed.
Maybe @Yu-Rou-Weng can help to make the .env.example
work out of the box.
from document-center-be.
MINIO_ROOT_USER and MINIO_ROOT_PASSWORD are needed for the docker-compose file. I will fix it later.
from document-center-be.
I think it already has default values because the docker-compose still works even when all the environment variables are left empty.
from document-center-be.
Sorry for late reply. Sure I can help. Is there anything additionally I need to add in .env.sample ?
from document-center-be.
I want the developers to only need to set the OAuth secret in the Docker Compose file. Other settings should have default values out-of-the-box.
Ensure that the default values in the .env.example file are sufficient for all services, including NestJS itself, to start successfully without errors, even if the developer does not set anything else.
from document-center-be.
Related Issues (20)
- Enhance API responses by including username with userId for frontend display
- Fetch Documents Error when no cookies provided HOT 3
- List Type Total Length Error HOT 2
- Test Cases Run Failed Module Not Found Error HOT 3
- Make cookie become `httpOnly` after frontend developed
- !!!important!!! Review related api HOT 3
- `user` related thing should be an DTO instead of plain attribute HOT 1
- Change `status` by actions HOT 1
- All Document api for superuser HOT 1
- State change when reassign reviewer HOT 1
- Fetch superuser data Error HOT 1
- User Name Undefined HOT 1
- User Name Undefined
- MinioService (X) -> FileUploadService (O) or FilerUploader (O)
- [Required] Should Sorted by Updated TIme HOT 2
- [ERROR] Occurs Internal Server Error when Deleting
- Document search with param `q=xxx`
- `500` error when using wrong path `/documents/al?page=1`
- Using cache for document query HOT 1
- Deleted document can also be assign
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from document-center-be.