Skip to content

Instantly share code, notes, and snippets.

@sand97
Created January 20, 2022 13:37

Revisions

  1. sand97 created this gist Jan 20, 2022.
    12 changes: 12 additions & 0 deletions .env
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    SERVER_PORT=3000
    DB_PASSWORD=my-custom-password
    DB_USERNAME=first-project-user
    DB_DATABASE_NAME=first-project-db
    POSTGRES_HOST=postgres
    POSTGRES_PORT=5432
    PORT=3000
    MODE=DEV

    #For prisma. Make sure that de pgsql service name, the db name, user
    # and password is the same of above.
    DATABASE_URL="postgresql://first-project-user:my-custom-password@postgres:5432/first-project-db?schema=public"