-
Notifications
You must be signed in to change notification settings - Fork 34
Docker
Mountain Star edited this page Mar 1, 2023
·
13 revisions
there's an official build on quay.io: https://quay.io/repository/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 |
For ubuntu:
- Install Docker
- Install docker-compose:
sudo apt-get install docker-compose
mkdir -p ~/docker/cryptopus-postgresql && cd ~/docker/cryptopus-postgresql
wget https://raw.githubusercontent.com/puzzle/cryptopus/master/config/docker/postgresql/docker-compose.yml
wget https://raw.githubusercontent.com/puzzle/cryptopus/master/config/docker/postgresql/postgres-prod.env.tmpl -O postgres-prod.env
- edit postgres-prod.env
usermod -a -G docker yourlocalusername
docker-compose up
docker exec -it cryptopus /bin/bash
bundle exec rake db:setup
- http://127.0.0.1:8080
For ubuntu:
- Install Docker
- Install docker-compose:
sudo apt-get install docker-compose
mkdir -p ~/docker/cryptopus-sqlite && cd ~/docker/cryptopus-sqlite
wget https://raw.githubusercontent.com/puzzle/cryptopus/master/docker-compose.yml
usermod -a -G docker yourlocalusername
- edit docker-compose.yml: replace localhost with 127.0.0.1 under ports
docker-compose up -d
docker exec -it cryptopus-sqlite /bin/bash
bundle exec rake db:setup
- http://127.0.0.1:8080
coming ...