Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: installation of Dojo on Synology #99

Merged
merged 1 commit into from
Dec 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/DOCKER_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ Most options provided in the configuration files can be later modified. New valu

For MacOS, see this detailed [installation guide](./DOCKER_mac_setup.MD).

For Synology, see this detailed [installation guide](./DOCKER_synology_setup.md).

This procedure allows to install a new Dojo from scratch.

* Install [Docker and Docker Compose](https://docs.docker.com/compose/install/) on the host machine and check that your installation is working.
Expand Down
57 changes: 57 additions & 0 deletions doc/DOCKER_synology_setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Installation of Dojo on Synology

This will install Dojo on your Synology hardware.



## Table of Content ##
- [Requirements](#requirements)
- [Install procedure](#install)



<a name="requirements"/>

## Requirements ##

* Synology hardware connected 24/7 to internet
* Disk: 500GB (minimal) / 1TB (recommended)
* RAM: 4GB (minimal)

<a name="install"/>

## Install procedure

- Connect to Synology web ui as administrator
- Open `Package center`, search for `Docker`, click `Install`.
![](./static/synology_docker-package.png)
- Open SSH terminal to your Synology
- Follow `first-time install procedure` in [DOCKER_setup.md](DOCKER_setup.md#install), but skip the first two steps:
```
* Install Docker and Docker Compose on the host machine and check that your installation is working.
* Install Tor Browser on the host machine.
```
You can use `/volume1/dojo` as `<dojo_dir>`.
- Install will complete with the following warnings, which you can safely ignore:
```
Attaching to nginx, nodejs, bitcoind, tor, db
nginx | WARNING: no logs are available with the 'db' log driver
nodejs | WARNING: no logs are available with the 'db' log driver
bitcoind | WARNING: no logs are available with the 'db' log driver
tor | WARNING: no logs are available with the 'db' log driver
db | WARNING: no logs are available with the 'db' log driver
```
![](./static/synology_install_complete.png)

## Dojo status & logs
- Connect to Synology web ui as administrator
- Open `Docker`, then `Container`.
![](./static/synology_containers.png)

- You will see the following containers running:
* bitcoind
* db
* nginx
* nodejs
* tor
- Select a container (ie `bitcoind`), click `Detail`, `Log` to see container's logs in real time
Binary file added doc/static/synology_containers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/static/synology_docker-package.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/static/synology_install_complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.