NOTE: this post will tell you how to build the Docker image locally on your system. If you’d just like to USE the latest docker image, there’s a pre-built image available.
To build an Intrigue Core image using Docker, you’ll need to install Docker on your machine.
Next, pull down the intrigue-core repository to your local machine with a git clone and jump into the directory:
$ git clone https://github.com/intrigueio/intrigue-core $ cd intrigue-core
Then use Docker to build an image:
$ docker build .
Finally, run the image with Docker!
$ docker run -e LANG=C.UTF-8 -i -t -p 0.0.0.0:7777:7777 [image id]
This will start the docker image with the intrigue-core services, giving you output that looks like the following (shortened for brevity):
Starting PostgreSQL 9.6 database server [ OK ] Starting redis-server: redis-server. Starting intrigue-core processes [+] Setup initiated! [+] Generating system password: hwphqlymmpfrqurv [+] Copying puma config.... [ ] File already exists, skipping: /core/config/puma.rb * Listening on tcp://0.0.0.0:7777 Use Ctrl-C to stop
As it starts up, you can see that it generates a unique password. You can now log in with the username intrigue and the password above at http://localhost:7777 on your host machine!
- URI: http://localhost:7777
- Username: intrigue
- Password: [generated on startup, see above]
Now, you’re up and running, see: Up and running with Intrigue-core