Base Ruby + Node image, from passenger-docker
3.2K
This repo is linked to docker hub for automated builds: https://registry.hub.docker.com/u/kapost
###To setup your mac run: ./setup.sh
ssh-add /path/to/mygithubkey- Ask if you want to install docker shortcut commands in /etc/profile. These are:
dockerup - Starts up docker VM "dev" and sets up your shell for docker use
dockerdown - Shuts down docker VM
dockersh - sets up your shell for docker use (by default this is run every time you open a new terminal window)
dockerstart- alias for dockerup
dockerstop - alias for dockerdown
dockershell - alias for dockershell
- The /etc/profile shortcuts include a dockerup command that will ensure docker is always running - comment the last dockerup line in /etc/profile if you don't want this
###After setup, start the nginx docker image: Note: you may need to close and reopen your terminal windows after running setup
docker logincd /myrepoPath/nginx-config/nginx_dev_docker/docker-compose upnginx is now running! (don't run nignx locally for development alongside this docker image, it's meant to be one or the other)
Ports for napa / docker: primary = port 3008; backup = port 53008
Note: Docker images are setup to listen on 53000 ports, like: 53008, 53002, etc.
for napa:
cd /myrepoPath/napadocker-compose upupdate to latest code you've pulled from git: docker-compose rm -f && docker-compose up
update everything: Run docker pull kapost/napa then docker-compose pull && docker-compose rm -f && docker-compose build and docker-compose up
the first command will pull the latest external dependency services only (mongo, redis, etc.)
the second part updates the application dependencies, like an update to Ruby: docker pull kapost/napa <-- insert Kapost app name here
docker-machine kill dev && docker-machine rm devContent type
Image
Digest
sha256:7e8df87e3…
Size
317.2 MB
Last updated
over 9 years ago
docker pull kapost/base