Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix : docs, add env file #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion docs/install/Docker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down