mirror of
https://github.com/status-im/nim-raft.git
synced 2025-01-27 05:14:45 +00:00
Fix
This commit is contained in:
parent
f89cb6dc34
commit
a31afea620
@ -7,7 +7,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
WORKDIR /app
|
||||
# copy the content of the local directory to the working directory
|
||||
COPY . .
|
||||
WORKDIR /app
|
||||
|
||||
# Install pre-requisites
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get clean
|
||||
|
@ -5,6 +5,6 @@ services:
|
||||
image: nim_raft_node
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
- ./raft_node_config.json:/app/raft_node_config.json
|
||||
|
||||
# You get the idea. To run the image N times with possibly different configs
|
||||
|
6
tests/raft_test_node_standalone.nim
Normal file
6
tests/raft_test_node_standalone.nim
Normal file
@ -0,0 +1,6 @@
|
||||
import ../raft
|
||||
import basic_state_machine
|
||||
|
||||
|
||||
if isMainModule:
|
||||
var node = RaftNode[SmCommand, SmState].new()
|
Loading…
x
Reference in New Issue
Block a user