Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
UPDATE: minio, dbms and redis configuration notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoguido committed Apr 23, 2020
1 parent e25dc04 commit 14eac24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docker/docs/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

- If you want to connect to one of the DBMS container you started from your **host** computer, as `host` value remember
to set your _HOME IP_ (`127.0.0.1`) and as port the one defined by either the `MYSQL_PORT` or `POSTGRESQL_PORT` defined
in the `.env` file.
in the `.env` file.
The same considerations applies to the `Redis` service.

- If you want to connect your project to a DBMS remember to use the standard ports for each system (i.e. `3306` for
**MySQL** and `5432` for **PostgreSQL**) and for the connection `host` use the name of the service (`mysql` or
`postgresql`).
`postgresql`).
The same considerations applies to the `Redis` and `Minio` services.

- If for some reason the synchronization made by `Docker Sync` does not perform correctly and seems unresponsive, simply
kill every running container and reboot the Docker Desktop application (if on MacOS) or the Docker service (on Linux).
Expand Down
8 changes: 6 additions & 2 deletions docker/docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ system *hosts* file (which can be found at `/etc/host` if your computer is runni
`C:\Windows\System32\drivers\etc\hosts` if running Windows), binding them to your _home IP address_ (`127.0.0.1` should
be fine), as shown below.

In the following example configuration `example.test` will be the domain name which will be used to access the project.
In the following example configuration, `example.test` will be the domain name which will be used to access the project.
```bash
127.0.0.1 example.test
```
```
Add also a bonus entry in your `hosts` file in order to map the `Minio` storage, if you intend to use it:
```bash
127.0.0.1 minio
```

2. Inside the `docker` folder there is a `.env.example` file defining the main aspects of the environment you will run
your project(s) in. Rename that file to `.env` and update every variable according to your needs. The various options
Expand Down

0 comments on commit 14eac24

Please sign in to comment.