mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
explain nginx ports with docker
This commit is contained in:
parent
46650133b5
commit
1691167582
@ -123,7 +123,7 @@ Note: The Changelog will be regenerated with all tags on release on the external
|
|||||||
|
|
||||||
## How the different .env work on deploy
|
## How the different .env work on deploy
|
||||||
|
|
||||||
Each component (frontend, admin, backend and database) has its own `.env` file. When running in development you usually do not have to care about the `.env`. The defaults are set by the respective config file, found in the `src/config/` folder of each component. But if you have a local `.env`, the defaults set in the config are overwritten by the `.env`.
|
Each component (frontend, admin, backend and database) has its own `.env` file. When running in development with docker and nginx you usually do not have to care about the `.env`. The defaults are set by the respective config file, found in the `src/config/` folder of each component. But if you have a local `.env`, the defaults set in the config are overwritten by the `.env`. If you do not use docker, you need the `.env` in the frontend and admin interface because nginx is not running in order to find the backend.
|
||||||
|
|
||||||
Each component has a `.env.dist` file. This file contains all environment variables used by the component and can be used as pattern. If you want to use a local `.env`, copy the `.env.dist` and adjust the variables accordingly.
|
Each component has a `.env.dist` file. This file contains all environment variables used by the component and can be used as pattern. If you want to use a local `.env`, copy the `.env.dist` and adjust the variables accordingly.
|
||||||
|
|
||||||
|
|||||||
4
frontend/.env.old
Normal file
4
frontend/.env.old
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
LOGIN_API_URL=http://localhost/login_api/
|
||||||
|
COMMUNITY_API_URL=http://localhost/api/
|
||||||
|
ALLOW_REGISTER=true
|
||||||
|
GRAPHQL_URI=http://localhost:4000/graphql
|
||||||
Loading…
x
Reference in New Issue
Block a user