From 359d0a0403405fe85810174f89500202e21fa36c Mon Sep 17 00:00:00 2001 From: Daniel Luiz Alves Date: Fri, 25 Apr 2025 14:11:09 -0300 Subject: [PATCH] docs(installation): add command to generate .env file Add a command to generate a .env file with the `server_ip` configuration to simplify the setup process for users. This command can be executed in the server terminal at the same path as the docker-compose.yaml file. --- apps/docs/content/docs/2.0.0-beta/installation.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/docs/content/docs/2.0.0-beta/installation.mdx b/apps/docs/content/docs/2.0.0-beta/installation.mdx index 0748264..85e6d56 100644 --- a/apps/docs/content/docs/2.0.0-beta/installation.mdx +++ b/apps/docs/content/docs/2.0.0-beta/installation.mdx @@ -219,6 +219,13 @@ We mainly need to pay attention to the following points: - For all environment variables that are `PASSWORD`, it's highly recommended to generate secure passwords and replace them as env vars. - Lastly, make sure no docker service will conflict with any existing ones in your environment. If there is a conflict, simply change the execution ports via environment var or in the docker compose. +To generate a .env file with just the `server_ip` configuration, you can run this command: + +```bash +curl -fsSL https://gist.githubusercontent.com/danielalves96/5a68913d70e5e31b68b7331dc17dfa9c/raw | bash +``` +> execute this command in your server terminal, at same path of docker-compose.yaml. + Basically, by paying attention to these points, you can quickly execute the project with the same command we used for localhost: ```bash