diff --git a/.env.example b/.env.example index 0a75dfc..75be792 100644 --- a/.env.example +++ b/.env.example @@ -1,12 +1,12 @@ PORT=3000 -SERVICE_NAME= -DATABASE_URL="postgresql://..." +SERVICE_NAME=projectname +DATABASE_URL="postgresql://postgres:hellofromdev@127.0.0.1:5432/postgres" MINIO_ACCESS_KEY= MINIO_SECRET_KEY= -MINIO_ENDPOINT_URL= -MINIO_PORT= -MINIO_BUCKET_NAME= -BETTER_AUTH_SECRET= +MINIO_ENDPOINT_URL=127.0.0.1 +MINIO_PORT=9000 +MINIO_BUCKET_NAME=projectname +BETTER_AUTH_SECRET=hellofromdev # DO NOT CHANGE BETTER_AUTH_URL=http://127.0.0.1:${PORT} diff --git a/.env.services.example b/.env.services.example index a5e5d49..3c7376c 100644 --- a/.env.services.example +++ b/.env.services.example @@ -1,6 +1,6 @@ -DB_USER= -DB_PASSWORD= -DB_PORT= +DB_USER=postgres +DB_PASSWORD=hellofromdev +DB_PORT=5432 -MINIO_ROOT_USER= -MINIO_ROOT_PASSWORD= +MINIO_ROOT_USER=minioadmin +MINIO_ROOT_PASSWORD=miniopassword diff --git a/.gitignore b/.gitignore index a8afeaa..01daa02 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,4 @@ yarn-error.log* package-lock.json **/*.bun -./server +server diff --git a/README.md b/README.md index aa86538..cc7f098 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,13 @@ cp .env.services.example .env.services ```env PORT=3000 SERVICE_NAME=microservice_start -# DB_URL FORMAT: "postgresql://:@:/" +# DATABASE_URL FORMAT: "postgresql://:@:/" DATABASE_URL="postgresql://postgres:hellodev@localhost:5432/postgres" MINIO_ACCESS_KEY= MINIO_SECRET_KEY= MINIO_ENDPOINT_URL=127.0.0.1 MINIO_PORT=9000 -MINIO_BUCKET_NAME=microservice-start +MINIO_BUCKET_NAME=projectname BETTER_AUTH_SECRET=a_must_change_randm_word # DO NOT CHANGE @@ -62,8 +62,8 @@ DB_USER=postgres DB_PASSWORD=hellodev DB_PORT=5432 -MINIO_ROOT_USER=microservice_admin -MINIO_ROOT_PASSWORD=microservice_admin_pass +MINIO_ROOT_USER=minioadmin +MINIO_ROOT_PASSWORD=miniopassword ``` ## Running the Project