Docker Lab (Learn Docker), this repository inspired from Docker Alpine.
Dynamic environments for:
- Consul
- MariaDB
- MongoDB
- Nginx
- NodeJS
- PostgreSQL
- Ruby
./build_all.sh
- Copy
.env.example
to.env
- Copy
docker-compose.skeleton.yml
todocker-compose.yml
- Build & running
docker-compose build && docker-compose up
- Force recreate container
docker-compose build && docker-compose up --force-recreate
- Force recreate some containers only
docker-compose build && docker-compose up --force-recreate consul nginx ruby postgresql mariadb mongodb redis
- Running container only
docker-compose up
- Running some containers only
docker-compose up consul nginx ruby postgresql mariadb mongodb redis
You can run docker-compose for different environment with selected containers
- Running on development environment
./env_development.sh
- Running on production environment
./env_production.sh