https://github.com/wayofdev/docker-project-services
Contains docker-compose files, and configuration for services, used per project
https://github.com/wayofdev/docker-project-services
Last synced: 10 months ago
JSON representation
Contains docker-compose files, and configuration for services, used per project
- Host: GitHub
- URL: https://github.com/wayofdev/docker-project-services
- Owner: wayofdev
- License: mit
- Created: 2022-11-08T18:20:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T15:56:10.000Z (10 months ago)
- Last Synced: 2025-04-12T00:16:03.956Z (10 months ago)
- Language: Shell
- Homepage: https://wayof.dev
- Size: 535 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Docker Project Services
This Repository is used together with SOA based projects, consisting of microservices, built on [laravel-starter-tpl](https://github.com/wayofdev/laravel-starter-tpl).
### โ Purpose
The purpose of this repository is to contain Docker services that can be shared across all microservices in one domain.
## ๐ฉ Requirements
* **macOS** Monterey or **Linux**
* **Docker** 20.10 or newer
- [How To Install and Use Docker on Ubuntu 22.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04)
* **Cloned, configured and running** [docker-shared-services](https://github.com/wayofdev/docker-shared-services), to support system-wide DNS, Routing and SSL support via Traefik.
## ๐ป Usage
> **Warning**: Repository with [docker-shared-services](https://github.com/wayofdev/docker-shared-services) should be configured, up and running before
### โ Instructions
1. Clone repository:
```bash
$ git clone git@github.com:wayofdev/docker-project-services.git
```
2. Generate default .env file:
```bash
# With custom namespace provided, it will be used to prefix all services
# in Docker network for current project
$ make env COMPOSE_PROJECT_NAME=bfq
# Default project namespace will be used - **wod**
$ make env
```
Edit the created .env file if necessary. You may want to change the default domain.
3. (Optional) Enable the `docker-compose.override.yaml` file to run extra services, like pg-admin and others:
```bash
$ make override
```
4. Run this repository:
```bash
$ make up
```
5. Check that everything works:
```bash
$ make ps
$ make logs
```
## ๐งช Testing
You can check `Makefile` to get full list of commands for local testing. For testing, you can use these commands to test whole role or separate tasks:
Testing docker-compose using dcgoss:
```bash
$ make test
```
## ๐ค License
[](./LICENSE)
## ๐๐ผโโ๏ธ Author Information
This repository was created in **2022** by [lotyp / wayofdev](https://github.com/wayofdev).
## ๐ซก Contributors
