-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 69d4966
Showing
844 changed files
with
140,204 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
_build/ | ||
*.beam | ||
.eunit | ||
rel/antidote | ||
dev | ||
apps/antidote/* | ||
*.swp | ||
*.swo | ||
src/*.swo | ||
dialyzer_unhandled_warnings | ||
.local_dialyzer_plt | ||
dialyzer_warnings | ||
.DS_Store | ||
logs/ | ||
tags | ||
rel/vars/*.config | ||
rebar.lock | ||
docs/_site/ | ||
docs/.sass-cache/ | ||
docs/.jekyll-metadata | ||
docs/_pdf | ||
docs/.idea/ | ||
log/ | ||
data/ | ||
.idea/ | ||
compile_commands.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:trusty | ||
|
||
MAINTAINER Christopher S. Meiklejohn <[email protected]> | ||
|
||
ENV ANTIDOTE_BRANCH "master" | ||
ENV ANTIDOTE_REPOSITORY "https://github.com/SyncFree/antidote.git" | ||
|
||
RUN cd /tmp && \ | ||
apt-get update && \ | ||
apt-get -y install wget build-essential make gcc ruby-dev git expect gnuplot curl && \ | ||
apt-get -y install libncurses5-dev libssl-dev && \ | ||
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ | ||
dpkg -i erlang-solutions_1.0_all.deb && \ | ||
apt-get update && \ | ||
apt-get -y install erlang && \ | ||
cd /opt && \ | ||
git clone $ANTIDOTE_REPOSITORY -b $ANTIDOTE_BRANCH && \ | ||
cd antidote && \ | ||
make && \ | ||
make rel && \ | ||
make clean | ||
|
||
CMD /opt/antidote/_build/default/rel/antidote/bin/env foreground |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:trusty | ||
|
||
MAINTAINER Christopher S. Meiklejohn <[email protected]> | ||
|
||
ENV ANTIDOTE_BRANCH "master" | ||
ENV ANTIDOTE_REPOSITORY "https://github.com/SyncFree/antidote.git" | ||
|
||
RUN cd /tmp && \ | ||
apt-get update && \ | ||
apt-get -y install wget build-essential make gcc ruby-dev git expect gnuplot curl && \ | ||
apt-get -y install libncurses5-dev libssl-dev && \ | ||
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ | ||
dpkg -i erlang-solutions_1.0_all.deb && \ | ||
apt-get update && \ | ||
apt-get -y install erlang | ||
|
||
CMD cd /opt && \ | ||
git clone $ANTIDOTE_REPOSITORY -b $ANTIDOTE_BRANCH && \ | ||
cd antidote && \ | ||
make && \ | ||
make rel && \ | ||
make clean && \ | ||
/opt/antidote/_build/default/rel/antidote/bin/env foreground |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM ubuntu:xenial | ||
|
||
MAINTAINER Christopher S. Meiklejohn <[email protected]> | ||
|
||
ENV ANTIDOTE_BRANCH "master" | ||
ENV ANTIDOTE_REPOSITORY "https://github.com/SyncFree/antidote.git" | ||
|
||
RUN cd /tmp && \ | ||
apt-get update && \ | ||
apt-get -y install wget build-essential make gcc ruby-dev git expect gnuplot curl && \ | ||
apt-get -y install libncurses5-dev libssl-dev && \ | ||
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ | ||
dpkg -i erlang-solutions_1.0_all.deb && \ | ||
apt-get update && \ | ||
apt-get -y install erlang && \ | ||
cd /opt && \ | ||
git clone $ANTIDOTE_REPOSITORY -b $ANTIDOTE_BRANCH && \ | ||
cd antidote && \ | ||
make && \ | ||
make rel && \ | ||
make clean | ||
|
||
# Distributed Erlang Port Mapper | ||
EXPOSE 4368 | ||
|
||
# Default ports for Antidote | ||
EXPOSE 8085 8086 8087 8099 | ||
|
||
CMD /opt/antidote/_build/default/rel/antidote/bin/env console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
version: '3.4' | ||
|
||
# Specify feature configuration for all nodes at once | ||
# See AntidoteDB documentation on how to configure these features | ||
x-antidote-features: | ||
&default-features | ||
RING_SIZE: "2" | ||
ANTIDOTE_TXN_CERT: "true" | ||
ANTIDOTE_TXN_PROT: "clocksi" | ||
ANTIDOTE_RECOVER_FROM_LOG: "true" | ||
ANTIDOTE_META_DATA_ON_START: "true" | ||
ANTIDOTE_SYNC_LOG: "false" | ||
ANTIDOTE_ENABLE_LOGGING: "true" | ||
ANTIDOTE_AUTO_START_READ_SERVERS: "true" | ||
COOKIE: "secret" | ||
|
||
|
||
services: | ||
dc1n1: | ||
container_name: dc1n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc1n1" | ||
ports: | ||
- "8101:8087" | ||
- "8102:3001" | ||
|
||
dc2n1: | ||
container_name: dc2n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc2n1" | ||
|
||
dc3n1: | ||
container_name: dc3n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc3n1" | ||
|
||
dc4n1: | ||
container_name: dc4n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc4n1" | ||
|
||
dc5n1: | ||
container_name: dc5n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc5n1" | ||
|
||
dc6n1: | ||
container_name: dc6n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc6n1" | ||
|
||
dc7n1: | ||
container_name: dc7n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc7n1" | ||
|
||
dc8n1: | ||
container_name: dc8n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc8n1" | ||
|
||
dc9n1: | ||
container_name: dc9n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc9n1" | ||
|
||
dc10n1: | ||
container_name: dc10n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc10n1" | ||
|
||
dc11n1: | ||
container_name: dc11n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc11n1" | ||
|
||
dc12n1: | ||
container_name: dc12n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc12n1" | ||
|
||
dc13n1: | ||
container_name: dc13n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc13n1" | ||
|
||
dc14n1: | ||
container_name: dc14n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc14n1" | ||
|
||
link-dcs: | ||
image: peterzel/antidote-connect | ||
command: ['--connectDcs', 'dc1n1:8087','dc2n1:8087','dc3n1:8087','dc4n1:8087','dc5n1:8087','dc6n1:8087','dc7n1:8087','dc8n1:8087','dc9n1:8087','dc10n1:8087','dc11n1:8087','dc12n1:8087','dc13n1:8087','dc14n1:8087',] | ||
depends_on: | ||
- dc1n1 | ||
- dc2n1 | ||
- dc3n1 | ||
- dc4n1 | ||
- dc5n1 | ||
- dc6n1 | ||
- dc7n1 | ||
- dc8n1 | ||
- dc9n1 | ||
- dc10n1 | ||
- dc11n1 | ||
- dc12n1 | ||
- dc13n1 | ||
- dc14n1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
version: '3.4' | ||
|
||
# Specify feature configuration for all nodes at once | ||
# See AntidoteDB documentation on how to configure these features | ||
x-antidote-features: | ||
&default-features | ||
RING_SIZE: "16" | ||
ANTIDOTE_TXN_CERT: "true" | ||
ANTIDOTE_TXN_PROT: "clocksi" | ||
ANTIDOTE_RECOVER_FROM_LOG: "true" | ||
ANTIDOTE_META_DATA_ON_START: "true" | ||
ANTIDOTE_SYNC_LOG: "false" | ||
ANTIDOTE_ENABLE_LOGGING: "true" | ||
ANTIDOTE_AUTO_START_READ_SERVERS: "true" | ||
COOKIE: "secret" | ||
|
||
|
||
services: | ||
dc1n1: | ||
container_name: dc1n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc1n1" | ||
ports: | ||
- "8101:8087" | ||
# metrics | ||
#- "8111:3001" | ||
#volumes: | ||
#persist data | ||
#- ./dc1/node1:/antidote-data | ||
|
||
dc1n2: | ||
container_name: dc1n2 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc1n2" | ||
ports: | ||
- "8102:8087" | ||
|
||
dc1n3: | ||
container_name: dc1n3 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc1n3" | ||
ports: | ||
- "8103:8087" | ||
|
||
link-cluster: | ||
image: peterzel/antidote-connect | ||
command: ['--createDc', 'dc1n1:8087', 'antidote@dc1n2', 'antidote@dc1n3'] | ||
depends_on: | ||
- dc1n1 | ||
- dc1n2 | ||
- dc1n3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: '3.4' | ||
|
||
# Specify feature configuration for all nodes at once | ||
# See AntidoteDB documentation on how to configure these features | ||
x-antidote-features: | ||
&default-features | ||
RING_SIZE: "2" | ||
ANTIDOTE_TXN_CERT: "true" | ||
ANTIDOTE_TXN_PROT: "clocksi" | ||
ANTIDOTE_RECOVER_FROM_LOG: "true" | ||
ANTIDOTE_META_DATA_ON_START: "true" | ||
ANTIDOTE_SYNC_LOG: "false" | ||
ANTIDOTE_ENABLE_LOGGING: "true" | ||
ANTIDOTE_AUTO_START_READ_SERVERS: "true" | ||
COOKIE: "secret" | ||
|
||
|
||
services: | ||
dc1n1: | ||
container_name: dc1n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc1n1" | ||
ports: | ||
- "8101:8087" | ||
- "8102:3001" | ||
|
||
dc2n1: | ||
container_name: dc2n1 | ||
image: antidotedb:local-build | ||
environment: | ||
<< : *default-features | ||
NODE_NAME: "antidote@dc2n1" | ||
ports: | ||
- "8201:8087" | ||
- "8202:3001" | ||
|
||
link-dcs: | ||
image: peterzel/antidote-connect | ||
command: ['--connectDcs', 'dc1n1:8087', 'dc2n1:8087'] | ||
depends_on: | ||
- dc1n1 | ||
- dc2n1 |
Oops, something went wrong.