@@ -16,13 +16,51 @@ above command again.
16
16
docker-compose down
17
17
```
18
18
19
+ ### Starting services selectively
20
+
21
+ It is possible to start services selectively, including their dependencies.
22
+
23
+ #### Start the demo wallet and all dependant services
24
+
25
+ ``` console
26
+ docker compose up waltid-demo-wallet
27
+ ```
28
+
29
+ will start automatically:
30
+ - caddy
31
+ - postgres
32
+ - wallet-api
33
+ - and waltid-web-wallet
34
+
35
+ #### Start services using compose profiles
36
+
37
+ ` COMPOSE_PROFILES ` environment variable located in the .env file allows the selection of
38
+ profiles to start the services for. Currently, the services are available with 2 profiles:
39
+
40
+ - identity - for the waltid-identity services
41
+ - tse - for the Hashicorp<sup >1</sup > vault services
42
+
43
+ Profiles can be combined, e.g. ` COMPOSE_PROFILES=identity,tse ` - will start the
44
+ waltid-identity services and the vault (also can be done with the ` all ` profile).
45
+
46
+
47
+ <sup >1</sup > - a hashicorp vault service that will be initialized with:
48
+
49
+ - a transit secrets engine
50
+ - authentication methods
51
+ - approle - for my-role, where role-id and secret-id will be output in the console
52
+ - userpass - for myuser with mypassword
53
+ - access-token - with dev-only-token
54
+
55
+
19
56
## Port mapping
20
57
21
58
### Services
22
59
23
60
- Wallet API: [ http://localhost:7001 ] ( http://localhost:7001 )
24
61
- Issuer API: [ http://localhost:7002 ] ( http://localhost:7002 )
25
62
- Verifier API: [ http://localhost:7003 ] ( http://localhost:7003 )
63
+ - Hashicorp vault: [ http://localhost:8200 ] ( http://localhost:8200 )
26
64
27
65
### Apps
28
66
0 commit comments