-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Mailcatcher implementation and how are emails forwarded to mailcatcher in development environment in the case of no configured smtp host #1503
-
First Check
- I added a very descriptive title here.
- I used the GitHub search to find a similar question and didn't find it.
- I searched in the documentation/README.
- I already searched in Google "How to do X" and didn't find any information.
- I already read and followed all the tutorial in the docs/README and didn't find an answer.
Commit to Help
- I commit to help with one of those options 👆
Example Code
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend
FROM node:20 AS build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY ./ /app/
ARG VITE_API_URL=${VITE_API_URL}
RUN npm run build
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1
COPY --from=build-stage /app/dist/ /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./nginx-backend-not-found.conf /etc/nginx/extra-conf.d/backend-not-found.conf
Description
when I run docker compose watch and test the forgot password functionality I it works fine but I am curious as to how that is I looked in the frontend code and fount that it uses the loginService but how is this loginService generted if the generate client script is never run in the dockerfile of the frontend. Furthermore, once the client generation question is resolved it takes us to the next question if there is no smtp host how is mailcatcher used instead?
Operating System
Linux
Operating System Details
Ubuntu
Python Version
3.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions
Some parts of functionality are hardcoded (not generated by client generator).
The part related to password recovery is here
As for
if there is no smtp host how is mailcatcher used instead?
It's specified in docker-compose.override.yml:
full-stack-fastapi-template/docker-compose.override.yml
Lines 83 to 87 in 8af907c
Replies: 1 comment 1 reply
-
Some parts of functionality are hardcoded (not generated by client generator).
The part related to password recovery is here
As for
if there is no smtp host how is mailcatcher used instead?
It's specified in docker-compose.override.yml:
full-stack-fastapi-template/docker-compose.override.yml
Lines 83 to 87 in 8af907c
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the answer this clarifies things out.😊
Beta Was this translation helpful? Give feedback.