Clone the project and its submodules:
git clone --recurse-submodules https://github.com/Anthony-Phillip-Collins/fullstack-docker-pern.git
These are the submodules:
Install docker if you haven't already.
Build the images:
docker compose -f docker-compose.dev.yml build
Run the containers:
docker compose -f docker-compose.dev.yml up
Stop/remove the containers:
docker compose -f docker-compose.dev.yml down --remove-orphans
Or you could use the equvalent util npm scripts in package.json e.g. npm run docker:dev:build
etc.
Once up and running visit http://localhost:8080/
u: [email protected]
p: letmein
u: [email protected]
p: letmein
Once up and running visit http://localhost:8000/ and enter the following credentials.
- System: PostgreSQL
- Server: dev.postgres
- Username: postgres
- Password: example
- Database: postgres
- Follow the instructions in ./backend/README.md
- Follow the instructions in ./frontend/README.md