Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 25, 2023
1 parent fbfd299 commit 57c8cef
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,46 @@ Check out the getting started guide if this is the first time you've used Pepper
version: "3.1"
services:
postgres:
container_name: postgres
peppermint_postgres:
container_name: peppermint_postgres
image: postgres:latest
restart: always
ports:
- 5432:5432
volumes:
- ./docker-data/db:/data/db
environment:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: peppermint
POSTGRES_PASSWORD: 1234
POSTGRES_DB: peppermint
client:
peppermint:
container_name: peppermint
image: pepperlabs/peppermint:latest
ports:
- 5000:5000
restart: on-failure
- 3000:3000
- 5003:5003
restart: always
depends_on:
- postgres
- peppermint_postgres
healthcheck:
test: ["CMD", "sh", "-c", "wget --spider $$BASE_URL"]
interval: 30s
timeout: 10s
retries: 3
environment:
PORT: 5000
DB_USERNAME: peppermint
DB_PASSWORD: 1234
DB_HOST: 'postgres'
BASE_URL: "http://localhost:5000"
DB_USERNAME: "peppermint"
DB_PASSWORD: "1234"
DB_HOST: "peppermint_postgres"
volumes:
pgdata:
```

Once this is completed then you can go to your base_url which was added to the compose file and login.

The default login credentials are

```
[email protected]
1234
Expand Down Expand Up @@ -109,11 +118,8 @@ Give a ⭐️ if this project helped you!

## Star History


[![Star History Chart](https://api.star-history.com/svg?repos=Peppermint-Lab/peppermint&type=Date)](https://star-history.com/#Peppermint-Lab/peppermint&Date)



## Author

👤 **Jack Andrews**
Expand Down

0 comments on commit 57c8cef

Please sign in to comment.