diff --git a/docker-compose.yaml b/docker-compose.yaml index 4edc46e..68f3b93 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,9 +7,9 @@ services: - no-new-privileges:true user: "nonroot:nonroot" 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: - - 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} - SMTP_SERVICE=${SMTP_SERVICE} - SMTP_EMAILADDR=${SMTP_EMAILADDR} @@ -26,7 +26,7 @@ services: depends_on: - database env_file: - - .exampleenv + - .env frontend: container_name: cropcompass-frontend @@ -36,7 +36,7 @@ services: - no-new-privileges:true user: "nonroot:nonroot" 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: - cropcompass-ntwk depends_on: @@ -51,13 +51,13 @@ services: environment: - MONGO_INITDB_ROOT_USERNAME=${MONGODB_ROOT_USERNAME} - 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: - cropcompass-ntwk volumes: - ./db:/data/db env_file: - - .exampleenv + - .env model: container_name: cropcompass-model