Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
Девелоперы закосячили stable, временное исправление предложено здесь o…
Browse files Browse the repository at this point in the history
  • Loading branch information
p_v committed Nov 28, 2018
1 parent 2255bec commit e85c220
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
parity-poa-moonshard/.env
parity-poa-moonshard/parity/data
2 changes: 1 addition & 1 deletion parity-poa-moonshard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
## Сборка:
0. Установите Docker и Docker-Compose.
1. Создайте Linux-юзера `parity` в системе для запуска нод: `useradd -M parity`
2. Смените владельца текущей директории: `chown parity:parity . -R`
2. Смените владельца директории данных parity: `chown parity:parity parity -R`
3. Создайте файл переменных `.env`, формата VARIABLE_NAME=VARIABLE_VALUE, по одной на строку, со следующими переменными:
- `PARITY_VERSION` - укажите "stable" для последней стабильной, или гитхаб-тэг формата "v2.0.6" из [репозитория Parity](https://github.com/paritytech/parity-ethereum)
- `PARITY_USER_ID` - укажите UID созданного Linux-юзера, команда `id -u parity`
Expand Down
4 changes: 4 additions & 0 deletions parity-poa-moonshard/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '2.1'
services:
authority0:
image: parity/parity:${PARITY_VERSION}
entrypoint: /home/parity/bin/parity
command:
--base-path /parity/data
--config /parity/config/authority.toml
Expand All @@ -26,6 +27,7 @@ services:

authority1:
image: parity/parity:${PARITY_VERSION}
entrypoint: /home/parity/bin/parity
command:
--base-path /parity/data
--config /parity/config/authority.toml
Expand All @@ -44,6 +46,7 @@ services:

authority2:
image: parity/parity:${PARITY_VERSION}
entrypoint: /home/parity/bin/parity
command:
--base-path /parity/data
--config /parity/config/authority.toml
Expand All @@ -61,6 +64,7 @@ services:

member0:
image: parity/parity:${PARITY_VERSION}
entrypoint: /home/parity/bin/parity
command:
--base-path /parity/data
--config /parity/config/member.toml
Expand Down

0 comments on commit e85c220

Please sign in to comment.