Flexibility Configuration for Docker Environment.
Distribution alpine docker container, use from Docker Alpine.
- 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.
You can run docker-compose for different environment with selected containers
- Copy / Rename
.env.exampleto.envfilecp .env.example .env - Change to execute script
chmod a+x run.sh - Change environment in
run_docker.shfileENV="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
- Configuration & How-To, see Wiki Documentation
-
- Multi database container & multi version database.
-
- Default configuration NGINX (staging, staging-ssl, production, production-ssl).
-
- Healthy check docker container.
-
- Unit test docker container.
-
- Asynchronous / background job for vulnerability scan (security assessment).