https://github.com/physer/dev-depot
My local development setup in a handy docker compose file
https://github.com/physer/dev-depot
docker docker-compose
Last synced: 5 months ago
JSON representation
My local development setup in a handy docker compose file
- Host: GitHub
- URL: https://github.com/physer/dev-depot
- Owner: Physer
- License: apache-2.0
- Created: 2022-02-15T20:35:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-12-03T09:50:27.000Z (7 months ago)
- Last Synced: 2025-12-06T12:26:38.545Z (7 months ago)
- Topics: docker, docker-compose
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dev Depot
## Introduction
This repository houses my day-to-day local development setup so I can quickly get my required services up and running, regardless of my host's state
## Running the containers
Create your environment file specifying the necessary secrets (see [Environment variables](#environment-variables)) and run `docker compose up -d` or `docker compose -p [PROJECT_NAME] up -d`. For running one or more specific services you can run `docker compose up -d [SERVICE]`. For an overview of service names, see the `compose.yaml` file.
## Containers
- [Azurite](https://hub.docker.com/_/microsoft-azure-storage-azurite)
- [RabbitMQ](https://hub.docker.com/_/rabbitmq)
- [Redis](https://hub.docker.com/_/redis)
- [SFTP](https://hub.docker.com/r/atmoz/sftp)
- [SQL](https://hub.docker.com/_/microsoft-mssql-server)
## Environment variables
Before starting any containers, create a `.env` file in the root of this repository. You can copy the `.env.example` file for reference.
You can then fill this file with the following variables for use within the compose file:
| Variable | Definition | Container |
| ------------------------- | -------------------------------------------------------------------------------------------- | --------------------------------------- |
| STFP_USERNAME | A username for your sftp user | atmoz/sftp |
| SFTP_PASSWORD | The password for the previously mentioned user | atmoz/sftp |
| SFTP_ROOTFOLDER | The root folder that the user can upload to | atmoz/sftp |
| SQL_SA_PASSWORD | The password for the SQL SA user | mcr.microsoft.com/mssql/server |
| SQL_HOSTNAME | The hostname of your SQL container | mcr.microsoft.com/mssql/server |
| SQL_DATA_PATH | A volume bind path for the data folder of your SQL container (where your .mdf files will be) | mcr.microsoft.com/mssql/server |
| SQL_LOG_PATH | A volume bind path for the log folder of your SQL container | mcr.microsoft.com/mssql/server |
| RABBITMQ_DEFAULT_USER | The username of the RabbitMQ user | rabbitmq |
| RABBITMQ_DEFAULT_PASS | The password of the RabbitMQ user | rabbitmq |
| AZURITE_DATA_PATH | A volume bind path for the data folder of your Azurite container | mcr.microsoft.com/azure-storage/azurite |