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
Copy file name to clipboardexpand all lines: README.md
+23-15
Original file line number
Diff line number
Diff line change
@@ -44,28 +44,36 @@ If you are using a build with all the services in the same cluster, you can use:
44
44
docker compose up -d --build
45
45
```
46
46
47
+
#### Up the containers (with services in independent servers)
48
+
49
+
If you wish to have each service (or some of them) in different servers, you will need to use the remote version of the docker compose file, and deploy the remote services you need by selecting them individually in the build. Example:
50
+
51
+
```bash
52
+
docker-compose -f docker-compose.remote.yml up -d --build beaconprod
53
+
```
54
+
55
+
After that, you will need to configure the IPs in the different conf files to make them connect. Remember to bind the IP in mongo to 0.0.0.0 in case you are making an independent deployment of the beacon and the mongodb.
56
+
47
57
#### Load the data
48
58
49
-
To load the database we execute the following commands:
59
+
To load the database (mongo) just copy your files in the data folder. Then, locate yourself in the mongo folder:
This loads the JSON files inside of the `data` folder into the MongoDB database container. Each time you import data you will have to create indexes for the queries to run smoothly. Please, check the next point about how to Create the indexes.
0 commit comments