An open API service indexing awesome lists of open source software.

https://github.com/zeroc0d3/docker-framework

Flexibility Configuration for Docker Environment
https://github.com/zeroc0d3/docker-framework

alpine deployment docker docker-alpine docker-compose docker-container docker-framework framework zeroc0d3 zeroc0d3lab

Last synced: 5 months ago
JSON representation

Flexibility Configuration for Docker Environment

Awesome Lists containing this project

README

          

# Docker Framework

Flexibility Configuration for Docker Environment.
Distribution `alpine` docker container, use from [**Docker Alpine**](https://github.com/bhuisgen/docker-alpine).

## Concepts
* Inspired from RoR (Ruby On Rails) and Laravel PHP Framework folder structures for configuration, container, database (db), cache and log.
* Adopt versioning Dockerfile container.
* Adopt multi environment container (build & run).
* Clean code and DRY (Do not Repeat Your self). Reuse configurations for docker-compose.
* Unit test and healthy check docker container.
* Available for Kubernetes combination.
* Use single OS (Operating System) distribution, for easy monitoring and maintaining.

## Environments
You can run docker-compose for different environment with selected containers
* Copy / Rename `.env.example` to `.env` file
```
cp .env.example .env
```
* Change to execute script
```
chmod a+x run.sh
```
* Change environment in `run_docker.sh` file
```
ENV="0" # (use: "development" or "production" as selected environment)
CONTAINER_PRODUCTION="..." # (selected containers will be run in production environment)
CONTAINER_DEVELOPMENT="..." # (selected containers will be run in development environment)
```
* Running script
```
./run.sh
```

## Documentation
* Configuration & How-To, see
[**Wiki Documentation**](https://github.com/zeroc0d3/docker-framework/wiki)

## Roadmap
* - [X] Multi database container & multi version database.
* - [X] Default configuration NGINX (staging, staging-ssl, production, production-ssl).
* - [X] Healthy check docker container.
* - [ ] Unit test docker container.
* - [ ] Asynchronous / background job for vulnerability scan (security assessment).

## License
[**MIT License**](https://github.com/zeroc0d3/docker-Framework/blob/master/LICENSE)