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
- Host: GitHub
- URL: https://github.com/zeroc0d3/docker-framework
- Owner: zeroc0d3
- License: mit
- Created: 2018-02-21T09:57:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-07T09:34:31.000Z (over 7 years ago)
- Last Synced: 2025-03-31T00:24:48.129Z (6 months ago)
- Topics: alpine, deployment, docker, docker-alpine, docker-compose, docker-container, docker-framework, framework, zeroc0d3, zeroc0d3lab
- Language: Makefile
- Size: 40.3 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
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)