Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 671 Bytes

README.md

File metadata and controls

47 lines (35 loc) · 671 Bytes

Kandan Docker container

Install Docker

Install docker and dvm

# Install Docker Mac binary
$ brew tap homebrew/binary
$ brew install docker

# Install dvm
$ brew tap fnichol/dvm
$ brew install dvm
$ dvm up
$ eval "$(dvm env)"
$ echo << 'EOF' >> ~/.bashrc
if [ -f "$(which dvm)" ]; then
  eval "$(dvm env)"
fi
EOF

Usage

$ docker build -t mainya/kandan .
$ docker run -d -p 3000:3000 mainya/kandan

you can edit db server on run.sh.

export DATABASE_USERNAME=""
export DATABASE_PASSWORD=""
export DATABASE_HOST=""
export DATABASE_PORT=""

Reference

https://github.com/kandanapp/kandan http://kandanapp.com/