Skip to content

Commit fceefe1

Browse files
committed
updates: expose ports, fast sync v2
* publish via workflow
1 parent 29107cc commit fceefe1

File tree

5 files changed

+28
-4
lines changed

5 files changed

+28
-4
lines changed

.github/workflows/publish.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: publish
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: build
13+
run: |
14+
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u "${{ secrets.CR_USER }}" --password-stdin
15+
docker build . --tag ghcr.io/ovrclk/akash-on-akash:${GITHUB_REF#refs/tags/}
16+
docker push ghcr.io/ovrclk/akash-on-akash:${GITHUB_REF#refs/tags/}

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ LABEL org.opencontainers.image.source https://github.com/ovrclk/akash-on-akash
44
EXPOSE 8080
55
EXPOSE 26656
66
EXPOSE 26657
7+
EXPOSE 1317
8+
EXPOSE 9090
79

810
RUN apt-get update && apt-get install --no-install-recommends --assume-yes ca-certificates python3 python3-toml p7zip-full && apt-get clean
911

app.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ global-labels = [
101101
[api]
102102

103103
# Enable defines if the API server should be enabled.
104-
enable = false
104+
enable = true
105105

106106
# Swagger defines if swagger documentation should automatically be registered.
107-
swagger = false
107+
swagger = true
108108

109109
# Address defines the API server to listen on.
110110
address = "tcp://0.0.0.0:1317"
@@ -131,7 +131,7 @@ enabled-unsafe-cors = false
131131
[grpc]
132132

133133
# Enable defines if the gRPC server should be enabled.
134-
enable = false
134+
enable = true
135135

136136
# Address defines the gRPC server address to bind to.
137137
address = "0.0.0.0:9090"

config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ temp_dir = ""
306306
# 1) "v0" (default) - the legacy fast sync implementation
307307
# 2) "v1" - refactor of v0 version for better testability
308308
# 2) "v2" - complete redesign of v0, optimized for testability & readability
309-
version = "v0"
309+
version = "v2"
310310

311311
#######################################################
312312
### Consensus Configuration Options ###

sdl/deployment.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ services:
1919
- port: 26656
2020
to:
2121
- global: true
22+
- port: 1317
23+
to:
24+
- global: true
25+
- port: 9090
26+
to:
27+
- global: true
2228

2329
profiles:
2430
compute:

0 commit comments

Comments
 (0)