Giter Club home page Giter Club logo

Comments (6)

grace0950 avatar grace0950 commented on July 23, 2024

I've already updated the .env.example. Could you please specify what additional information is needed?

from document-center-be.

YJack0000 avatar YJack0000 commented on July 23, 2024

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.

grace0950 avatar grace0950 commented on July 23, 2024

MINIO_ROOT_USER and MINIO_ROOT_PASSWORD are needed for the docker-compose file. I will fix it later.

from document-center-be.

YJack0000 avatar YJack0000 commented on July 23, 2024

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.

Yu-Rou-Weng avatar Yu-Rou-Weng commented on July 23, 2024

Sorry for late reply. Sure I can help. Is there anything additionally I need to add in .env.sample ?

from document-center-be.

YJack0000 avatar YJack0000 commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.