From 68c4ff65564b6f6a97791adc9a3cab09b926ef51 Mon Sep 17 00:00:00 2001 From: David AUFFRAY <31964077+Davidffry@users.noreply.github.com> Date: Thu, 18 Apr 2024 10:37:33 +0200 Subject: [PATCH] Update index.md --- docs/install/Docker/index.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/install/Docker/index.md b/docs/install/Docker/index.md index ba7878f..2a4b6d3 100644 --- a/docs/install/Docker/index.md +++ b/docs/install/Docker/index.md @@ -19,7 +19,29 @@ Copy sample compose file. ``` cp docker-compose.yml.sample docker-compose.yml ``` - +Copy the env file, +``` +cp sample.env.local .env.local +``` +or change it into the docker-compose.yml +``` +... +services: + app: + image: intriin/mmdl:latest + ports: + - 3000:3000 + depends_on: + - db + networks: + - app-tier + restart: always + environment: + DB_HOST: db + env_file: + - sample.env.local +... +``` You can make changes to docker compose file using the [Configuration](../Configuration/WithDockerCompose.md) guide as a help. After making the required changed, run: