-
Notifications
You must be signed in to change notification settings - Fork 331
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
docs: add instructions for running celestia-app via Docker #4168
base: main
Are you sure you want to change the base?
Changes from all commits
a0cf884
f5d9a10
a654874
d9b1477
4ac615f
cbf13ec
d89e99c
8e9aaa0
502bf71
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -43,6 +43,36 @@ node | | | | | |||||||||
make install | ||||||||||
``` | ||||||||||
|
||||||||||
### Docker | ||||||||||
|
||||||||||
1. Prerequisites | ||||||||||
- Install [Docker](https://www.docker.com/get-started) 20.10 or higher | ||||||||||
|
||||||||||
2. Fetch the latest tagged release | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a bit misleading because the The most recent release of celestia-app is v3.2.0. The latest tag on Docker is currently applied to a different release. so let's say
Suggested change
|
||||||||||
```bash | ||||||||||
docker pull ghcr.io/celestiaorg/celestia-app:latest | ||||||||||
``` | ||||||||||
|
||||||||||
3. Run the application | ||||||||||
To start the application using Docker Compose: | ||||||||||
1. Create a `docker-compose.yml` file with the following content: | ||||||||||
Comment on lines
+56
to
+58
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is too verbose and repetitive.
Suggested change
|
||||||||||
```yaml | ||||||||||
version: '3' | ||||||||||
services: | ||||||||||
celestia-app: | ||||||||||
image: ghcr.io/celestiaorg/celestia-app:latest | ||||||||||
volumes: | ||||||||||
- ./data:/root/.celestia-app | ||||||||||
ports: | ||||||||||
- "26657:26657" # RPC | ||||||||||
- "26656:26656" # P2P | ||||||||||
command: ["celestia-appd", "start"] | ||||||||||
``` | ||||||||||
Comment on lines
+59
to
+70
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we move this into a file in this repo? Perhaps in the docker directory: |
||||||||||
2. Start the application: | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
```bash | ||||||||||
docker-compose up | ||||||||||
``` | ||||||||||
|
||||||||||
### Prebuilt binary | ||||||||||
|
||||||||||
If you'd rather not install from source, you can download a prebuilt binary from the [releases](https://github.com/celestiaorg/celestia-app/releases) page. | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't format well, see the rendered diff