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
@@ -16,6 +16,8 @@ In this guide, we'll use a Harbor registry instance.
16
16
### 3. Configure Ground Control
17
17
Navigate to the `ground-control` directory and set up the following environment variables:
18
18
19
+
- For running ground control using Dagger
20
+
19
21
```bash
20
22
HARBOR_USERNAME=admin
21
23
HARBOR_PASSWORD=Harbor12345
@@ -31,6 +33,23 @@ DB_USERNAME=postgres # Customize based on your DB config
31
33
DB_PASSWORD=password # Customize based on your DB config
32
34
```
33
35
36
+
- For running ground control without Dagger
37
+
38
+
```bash
39
+
HARBOR_USERNAME=admin
40
+
HARBOR_PASSWORD=Harbor12345
41
+
HARBOR_URL=https://demo.goharbor.io
42
+
43
+
PORT=8080
44
+
APP_ENV=local
45
+
46
+
DB_HOST=127.0.0.1
47
+
DB_PORT=8100
48
+
DB_DATABASE=groundcontrol
49
+
DB_USERNAME=postgres # Customize based on your DB config and add the same config to the docker-compose file
50
+
DB_PASSWORD=password # Customize based on your DB config and add the same config to the docker-compose file
51
+
```
52
+
34
53
### 4. Run Ground Control
35
54
To start the Ground Control service, execute the following Dagger command:
36
55
@@ -52,66 +71,156 @@ To Run ground-control binary use
52
71
53
72
> **Note:** Ensure you have set up Dagger with the latest version before running this command. Ground Control will run on port 8080.
54
73
55
-
### 5. Configure Satellite
56
-
Return to the root project directory:
74
+
#### Without Using Dagger
75
+
76
+
To start the Ground Control service without using Dagger, follow these steps:
77
+
First, move to the ground-control directory
57
78
58
79
```bash
59
80
cd ..
60
81
```
61
82
62
-
Then navigate to the `satellite` directory and verify that `config.toml` is set up correctly:
83
+
Then add the credentials to the `docker-compose` file for the Postgres service and pgAdmin, and start the services using. Make sure you add the same credentials that you have added in the .env file
63
84
64
-
```toml
65
-
# Whether to use the built-in Zot registry or not
66
-
bring_own_registry = false
85
+
```bash
86
+
docker compose up
87
+
```
67
88
68
-
# IP address and port of the registry
69
-
own_registry_adr = "127.0.0.1"
70
-
own_registry_port = "8585"
89
+
Once the services are up, move to the `sql/schema` folder to set up the database required for the ground control
- Once the group is created, now we would add a satellite to the group so that the satellite would be available to track the images/artifacts present in the group
108
164
109
-
The Satellite service will start on port 9090. Ensure that the `ground_control_url` is correctly set in the Satellite configuration before launching.
110
-
165
+
Below curl command is used to register a satellite which also provides the authentication token for the satellite
- This would generate the binaries for various architectures in the `bin` folder. Choose the binary for your system and use it. Make sure that the `config.json` and the binary directory are the same when running it otherwise it would throw an error.
0 commit comments