Added a better comment letting know why certain env vars + ports shouldn't be changed. Also modified .env file.
This commit is contained in:
+6
-6
@@ -7,9 +7,9 @@ services:
|
|||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
user: "nonroot:nonroot"
|
user: "nonroot:nonroot"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000" # Do not change
|
- "8000:8000" # Do not change this unless you have modified it in the Docker image and rebuilt it.
|
||||||
environment:
|
environment:
|
||||||
- FRONTEND_URI=http://localhost:3000 # Do not change
|
- FRONTEND_URI=http://localhost:3000 # Do not change this unless you have modified it in the Docker image and rebuilt it.
|
||||||
- MONGODB_URI=${MONGODB_URI}
|
- MONGODB_URI=${MONGODB_URI}
|
||||||
- SMTP_SERVICE=${SMTP_SERVICE}
|
- SMTP_SERVICE=${SMTP_SERVICE}
|
||||||
- SMTP_EMAILADDR=${SMTP_EMAILADDR}
|
- SMTP_EMAILADDR=${SMTP_EMAILADDR}
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
env_file:
|
env_file:
|
||||||
- .exampleenv
|
- .env
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
container_name: cropcompass-frontend
|
container_name: cropcompass-frontend
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
user: "nonroot:nonroot"
|
user: "nonroot:nonroot"
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000" # Do not change
|
- "3000:3000" # Do not change this unless you have modified it in the Docker image and rebuilt it.
|
||||||
networks:
|
networks:
|
||||||
- cropcompass-ntwk
|
- cropcompass-ntwk
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -51,13 +51,13 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MONGO_INITDB_ROOT_USERNAME=${MONGODB_ROOT_USERNAME}
|
- MONGO_INITDB_ROOT_USERNAME=${MONGODB_ROOT_USERNAME}
|
||||||
- MONGO_INITDB_ROOT_PASSWORD=${MONGODB_ROOT_PASSWORD}
|
- MONGO_INITDB_ROOT_PASSWORD=${MONGODB_ROOT_PASSWORD}
|
||||||
- MONGO_INITDB_DATABASE=CropCompass # Do not change
|
- MONGO_INITDB_DATABASE=CropCompass # Do not change this unless you have modified it in the Docker image and rebuilt it.
|
||||||
networks:
|
networks:
|
||||||
- cropcompass-ntwk
|
- cropcompass-ntwk
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/data/db
|
- ./db:/data/db
|
||||||
env_file:
|
env_file:
|
||||||
- .exampleenv
|
- .env
|
||||||
|
|
||||||
model:
|
model:
|
||||||
container_name: cropcompass-model
|
container_name: cropcompass-model
|
||||||
|
|||||||
Reference in New Issue
Block a user