-
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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** | ||
|