Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Dec 19, 2021
1 parent 4bde801 commit 7f771c3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ This starter is useful for development purposes and faster environment setup.

It deploys PostgreSQL and Redis containers on a server and the containers are exposed to public. So you can share it among the teammates.

You can connect to a database using `postgresql://admin:[email protected]:5432/db` or directly with server's IP address `postgresql://admin:[email protected]:5432/db`

For the full information, check out [the article]().
For the full explanation, check out [the article]().

### Quick tutorial

1. Create new droplet in [DigitalOcean](https://digitalocean.com).
2. Clone the repo:

```
> git clone https://github.com/kanzitelli/postgres-and-redis-behind-traefik.git backend && cd backend
> git clone https://github.com/kanzitelli/postgres-and-redis-behind-traefik.git backend
> cd backend
```

3. Set up `.env` file:
Expand Down Expand Up @@ -43,9 +42,9 @@ DB_PASS=pass_12345qwerty
```
Postgres:
Domain: postgresql://admin:[email protected]:5432/db
IP address: postgresql://admin:[email protected]:5432:5432/db
IP address: postgresql://admin:[email protected]:5432/db
Redis:
Domain: redis://db.website.com:6379
IP: redis://46.101.120.53:5432:6379
IP: redis://46.101.120.53:6379
```

0 comments on commit 7f771c3

Please sign in to comment.