A collection of docker online resources. Source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Node.js app Docker file | |
| FROM ubuntu:14.04 | |
| MAINTAINER Thom Nichols "thom@thomnichols.org" | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get update | |
| RUN apt-get -qq update | |
| RUN apt-get install -y nodejs npm |
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path to your oh-my-zsh configuration. | |
| ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| #ZSH_THEME="robbyrussell" | |
| # ZSH_THEME="blinks" | |
| # ZSH_THEME ="prose" |
NewerOlder