Skip to content

Commit

Permalink
fix: discord link and add compose example
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored and libotony committed Jan 10, 2024
1 parent dc35d71 commit dbe9923
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ contact_links:
url: https://github.com/vechain/VIPs
about: Use this repository to view existing proposals and feature requests or to submit your own.
- name: Discord
url: https://discord.gg/vechainofficial
url: https://discord.gg/vechain
about: Join our Discord community to connect with other VeChain enthusiasts, ask questions, and find answers.
- name: Telegram
url: https://t.me/VeChainDevCommunity
Expand Down
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,34 @@ docker run -d\
--name thor-node vechain/thor --network test
```

Do not forget to add the `--api-addr 0.0.0.0:8669` flag if you want other containers and/or hosts to have access to the RESTful API. `Thor` binds to `localhost` by default and it will not accept requests outside the container itself without the flag.
_Do not forget to add the `--api-addr 0.0.0.0:8669` flag if you want other containers and/or hosts to have access to the RESTful API. `Thor` binds to `localhost` by default and it will not accept requests outside the container itself without the flag._

Release [v2.0.4](https://github.com/vechain/thor/releases/tag/v2.0.4) changed the default user from `root` (UID: 0) to `thor` (UID: 1000). Ensure that UID 1000 has `rwx` permissions on the data directory of the docker host. You can do that with ACL `sudo setfacl -R -m u:1000:rwx {path-to-your-data-directory}`, or update ownership with `sudo chown -R 1000:1000 {path-to-your-data-directory}`.


### Docker Compose

A `docker-compose.yml` file is provided for convenience. It will create a container with the same configuration as the command above.

```yaml
version: '3.8.'

services:
thor-node:
image: vechain/thor
container_name: thor-node
command: --network test --api-addr 0.0.0.0:8669
volumes:
- thor-data:/home/thor
ports:
- "8669:8669"
- "11235:11235"
- "11235:11235/udp"

volumes:
thor-data:
```
## Explorers
* [Vechain Explorer (Official)](https://explore.vechain.org)
Expand Down

0 comments on commit dbe9923

Please sign in to comment.