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

chore: dolos 0.18.2 #55

Merged
merged 1 commit into from
Nov 2, 2024
Merged
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
51 changes: 51 additions & 0 deletions packages/dolos/dolos-0.18.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: dolos
version: 0.18.2
description: Dolos is a Cardano data node
dependencies:
- cardano-config >= 20241028
installSteps:
- file:
filename: daemon.toml
source: files/daemon.toml.gotmpl
- docker:
containerName: dolos
image: ghcr.io/txpipe/dolos:v0.18.2
command:
- dolos
- daemon
binds:
- '{{ .Paths.DataDir }}:/etc/dolos'
- '{{ .Paths.ContextDir }}/config/{{ .Context.Network }}:/config'
- '{{ .Paths.ContextDir }}/dolos-data:/data'
- '{{ .Paths.ContextDir }}/dolos-ipc:/ipc'
ports:
- "30013"
- "50051"
pullOnly: false
outputs:
- name: grpc
description: Dolos gRPC service
value: 'http://localhost:{{ index (index .Ports "dolos") "50051" }}'
- name: relay
description: Dolos Ouroboros Node-to-Node service
value: 'localhost:{{ index (index .Ports "dolos") "30013" }}'
- name: socket-path
description: Path to the Dolos Ouroboros Node-to-Client UNIX socket
value: '{{ .Paths.ContextDir }}/dolos-ipc/dolos.socket'
preInstallScript: |
set -e
test -e {{ .Paths.ContextDir }}/dolos-data/db/wal && exit 0
echo "Downloading snapshot from TxPipe's AWS account (trust me bro)"
mkdir -p {{ .Paths.ContextDir }}/dolos-data/db
cd {{ .Paths.ContextDir }}/dolos-data/db
curl -LO https://dolos-snapshots.s3-accelerate.amazonaws.com/v0/{{ .Context.NetworkMagic }}/full/latest.tar.gz
echo "Extracting snapshot"
tar vxf latest.tar.gz
rm -f latest.tar.gz
echo "Snapshot extraction complete"
tags:
- docker
- linux
- darwin
- amd64
- arm64