Small workspace containing Docker Compose setups for local databases used in development.
- Ensure you have Docker and Docker Compose installed on your machine.
- Navigate to the respective database folder.
Small workspace with Docker Compose setups for local development databases.
Quick links
Prerequisites
- Docker (Desktop or Engine)
- Docker Compose
Getting started (PowerShell)
-
Open PowerShell/Terminal and change to the service folder, for example:
cd .\mssql-db
-
Start the service in detached mode:
docker-compose up -d
-
Stop and remove containers:
docker-compose down
Environment and connection
- Each service folder contains a
docker-compose.ymland may include a.envwith connection details. - Use the exposed ports and environment variables to connect with your client or application.
Ignoring local tool files
This repository includes a .gitignore at the root. The .system/ folder is intentionally ignored to keep local tooling files out of source control.
If .system was already committed, stop tracking it while keeping files locally:
git add .gitignore
git commit -m "Add .system/ to .gitignore"
git rm -r --cached .system
git commit -m "Stop tracking .system and honor .gitignore"
git status --ignored
git check-ignore -v -- .system
Notes
- Replace
mssql-dbwithmysql-dborpgs-dbto manage the other database services. - If you need seed data for MS SQL, look in
mssql-db/data(or the top-levelmssql-db/data/in this repo).