Skip to content
Lucas Habersaat edited this page Apr 27, 2020 · 13 revisions

Official Docker Image

there's an official build on dockerhub: https://hub.docker.com/r/puzzle/cryptopus/

tag purpose description
latest testing / dev built from master branch which includes most recent but maybe unstable features
stable production built from stable branch with most recent tested/stable features

Run with Mysql

For ubuntu:

  1. Install Docker
  2. Install docker-compose: sudo apt-get install docker-compose
  3. mkdir -p ~/docker/cryptopus-mysql && cd ~/docker/cryptopus-mysql
  4. wget https://raw.githubusercontent.com/puzzle/cryptopus/master/config/docker/mysql/docker-compose.yml
  5. wget https://raw.githubusercontent.com/puzzle/cryptopus/master/config/docker/mysql/mysql-prod.env.tmpl -O mysql-prod.env
  6. edit mysql-prod.env
  7. usermod -a -G docker yourlocalusername
  8. edit docker-compose.yml: replace localhost with 127.0.0.1 under ports
  9. docker-compose up
  10. docker exec -it cryptopus /bin/bash
  11. bundle exec rake db:setup
  12. http://127.0.0.1:8080

Run with Sqlite

For ubuntu:

  1. Install Docker
  2. Install docker-compose: sudo apt-get install docker-compose
  3. mkdir -p ~/docker/cryptopus-sqlite && cd ~/docker/cryptopus-sqlite
  4. wget https://raw.githubusercontent.com/puzzle/cryptopus/master/docker-compose.yml
  5. usermod -a -G docker yourlocalusername
  6. edit docker-compose.yml: replace localhost with 127.0.0.1 under ports
  7. docker-compose up -d
  8. docker exec -it cryptopus-sqlite /bin/bash
  9. bundle exec rake db:setup
  10. http://127.0.0.1:8080

Development Image

coming ...

Clone this wiki locally