You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Installation - Using an Ansible Playbook to bootstrap ResilientDB
3
2
4
-
# Installation Guide
5
-
6
-
Welcome to the installation guide for ResilientDB and its associated projects. This guide will help you set up the entire ResilientDB ecosystem on your machine using a custom-generated `INSTALL.sh` script.
3
+
Docker image to provision and run ResilientDB along with supporting services (GraphQL, Crow HTTP server, Nginx) using systemd and Ansible.
7
4
8
5
---
9
6
10
-
## 📋 **Prerequisites**
7
+
## 📋 Prerequisites
11
8
12
9
Before you begin, ensure you have the following installed on your system:
10
+
13
11
**NOTE:** This project requires Ubuntu 20.04+
14
12
15
-
-**Git:** Version control system to clone repositories.
16
-
-**Docker:** For containerized deployment (optional).
17
-
-**cURL or Wget:** For downloading scripts.
18
-
-**Bash Shell:** To run shell scripts.
13
+
-**Git:** Version control system to clone repositories
14
+
-**Docker:** For containerized deployment
15
+
-**cURL or Wget:** For downloading scripts
16
+
-**Bash Shell:** To run shell scripts
17
+
18
+
---
19
+
20
+
## 🚀 Quick Start
21
+
22
+
### Build the Docker Image
23
+
24
+
```bash
25
+
docker build -t resilientdb-ansible .
26
+
```
27
+
28
+
### Run the Container
29
+
30
+
```bash
31
+
docker run --privileged \
32
+
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
33
+
-v /tmp:/tmp \
34
+
-v /run:/run \
35
+
-p 80:80 \
36
+
-p 18000:18000 \
37
+
-p 8000:8000 \
38
+
resilientdb-ansible
39
+
```
40
+
41
+
---
42
+
43
+
## 🔧 Alternative Installation Methods
44
+
45
+
### Option 1: Interactive Shell (Recommended for Troubleshooting)
46
+
47
+
If the container exits with error code 255, use this approach:
48
+
49
+
```bash
50
+
docker run --privileged \
51
+
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
52
+
-v /tmp:/tmp \
53
+
-v /run:/run \
54
+
-p 80:80 \
55
+
-p 18000:18000 \
56
+
-p 8000:8000 \
57
+
-d \
58
+
--name resilientdb-container \
59
+
--entrypoint /bin/bash \
60
+
resilientdb-ansible \
61
+
-c "while true; do sleep 30; done"
62
+
```
63
+
64
+
Then access the container and run the manual startup script:
0 commit comments