modified example
This commit is contained in:
parent
12aff1d098
commit
8d46d7082f
4 changed files with 16 additions and 16 deletions
12
.env.example
12
.env.example
|
|
@ -1,12 +1,12 @@
|
||||||
PORT=3000
|
PORT=3000
|
||||||
SERVICE_NAME=<dash-seperated-lowercased-unique-accross-projects-name>
|
SERVICE_NAME=projectname
|
||||||
DATABASE_URL="postgresql://..."
|
DATABASE_URL="postgresql://postgres:hellofromdev@127.0.0.1:5432/postgres"
|
||||||
MINIO_ACCESS_KEY=
|
MINIO_ACCESS_KEY=
|
||||||
MINIO_SECRET_KEY=
|
MINIO_SECRET_KEY=
|
||||||
MINIO_ENDPOINT_URL=
|
MINIO_ENDPOINT_URL=127.0.0.1
|
||||||
MINIO_PORT=
|
MINIO_PORT=9000
|
||||||
MINIO_BUCKET_NAME=
|
MINIO_BUCKET_NAME=projectname
|
||||||
BETTER_AUTH_SECRET=
|
BETTER_AUTH_SECRET=hellofromdev
|
||||||
|
|
||||||
# DO NOT CHANGE
|
# DO NOT CHANGE
|
||||||
BETTER_AUTH_URL=http://127.0.0.1:${PORT}
|
BETTER_AUTH_URL=http://127.0.0.1:${PORT}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
DB_USER=
|
DB_USER=postgres
|
||||||
DB_PASSWORD=
|
DB_PASSWORD=hellofromdev
|
||||||
DB_PORT=
|
DB_PORT=5432
|
||||||
|
|
||||||
MINIO_ROOT_USER=
|
MINIO_ROOT_USER=minioadmin
|
||||||
MINIO_ROOT_PASSWORD=
|
MINIO_ROOT_PASSWORD=miniopassword
|
||||||
|
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -43,4 +43,4 @@ yarn-error.log*
|
||||||
package-lock.json
|
package-lock.json
|
||||||
**/*.bun
|
**/*.bun
|
||||||
|
|
||||||
./server
|
server
|
||||||
|
|
|
||||||
|
|
@ -42,13 +42,13 @@ cp .env.services.example .env.services
|
||||||
```env
|
```env
|
||||||
PORT=3000
|
PORT=3000
|
||||||
SERVICE_NAME=microservice_start
|
SERVICE_NAME=microservice_start
|
||||||
# DB_URL FORMAT: "postgresql://<username>:<password>@<host>:<port>/<db_name>"
|
# DATABASE_URL FORMAT: "postgresql://<username>:<password>@<host>:<port>/<db_name>"
|
||||||
DATABASE_URL="postgresql://postgres:hellodev@localhost:5432/postgres"
|
DATABASE_URL="postgresql://postgres:hellodev@localhost:5432/postgres"
|
||||||
MINIO_ACCESS_KEY=
|
MINIO_ACCESS_KEY=
|
||||||
MINIO_SECRET_KEY=
|
MINIO_SECRET_KEY=
|
||||||
MINIO_ENDPOINT_URL=127.0.0.1
|
MINIO_ENDPOINT_URL=127.0.0.1
|
||||||
MINIO_PORT=9000
|
MINIO_PORT=9000
|
||||||
MINIO_BUCKET_NAME=microservice-start
|
MINIO_BUCKET_NAME=projectname
|
||||||
BETTER_AUTH_SECRET=a_must_change_randm_word
|
BETTER_AUTH_SECRET=a_must_change_randm_word
|
||||||
|
|
||||||
# DO NOT CHANGE
|
# DO NOT CHANGE
|
||||||
|
|
@ -62,8 +62,8 @@ DB_USER=postgres
|
||||||
DB_PASSWORD=hellodev
|
DB_PASSWORD=hellodev
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
|
|
||||||
MINIO_ROOT_USER=microservice_admin
|
MINIO_ROOT_USER=minioadmin
|
||||||
MINIO_ROOT_PASSWORD=microservice_admin_pass
|
MINIO_ROOT_PASSWORD=miniopassword
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running the Project
|
## Running the Project
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue