Docker Lab (Learn Docker)
MIT License
Docker Lab (Learn Docker), this repository inspired from Docker Alpine.
Dynamic environments for:
vundle
) Plugin:PluginInstall
:PluginUpdate
vim +PluginInstall +q
vim +PluginUpdate +q
$HOME/Gemfile
$HOME/Gemfile.lock
./tmp/gems.sh
/bin/sh $HOME/gems.sh
docker-compose
)./build_all.sh
./run_nginx.sh
./run_mariadb.sh
./run_postgresql.sh
env-example
to .env
docker-compose.skeleton.yml
to docker-compose.yml
docker-compose build && docker-compose up
docker-compose build && docker-compose up --force-recreate
docker-compose build && docker-compose up --force-recreate mariadb mongodb nginx nodejs postgresql redis ruby application
docker-compose up
docker-compose up mariadb mongodb nginx nodejs postgresql redis ruby application
You can run docker-compose for different environment with selected containers
env.sh.example
to env.sh
chmod a+x env.sh
env.sh
file
ENV="development" # (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)
./env.sh