Skip to content

Contains docker-compose files, and configuration for services, used per project

License

Notifications You must be signed in to change notification settings

wayofdev/docker-project-services

Repository files navigation


Logo for light mode Logo for dark mode


Build Status Latest Version Software License Commits since latest release

Docker Project Services

This Repository is used together with SOA based projects, consisting of microservices, built on 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


💻 Usage

Warning: Repository with docker-shared-services should be configured, up and running before

→ Instructions

  1. Clone repository:

    $ git clone [email protected]:wayofdev/docker-project-services.git
  2. Generate default .env file:

    # 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:

    $ make override
  4. Run this repository:

    $ make up
  5. Check that everything works:

    $ 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:

$ make test

🤝 License

Licence


🙆🏼‍♂️ Author Information

This repository was created in 2022 by lotyp / wayofdev.


🫡 Contributors

Contributors

Contributors

About

Contains docker-compose files, and configuration for services, used per project

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published