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
|`AGENT_ENDPOINTS`| Comma separated list of endpoints, in order of preference. In most cases you want to provide two endpoints, where the first one is an HTTP url, and the second one is an WebSocket url |
102
-
|`AGENT_WALLET_KEY`| The key to unlock the wallet. |
103
-
|`AGENT_WALLET_NAME`| The name of the wallet to use. |
104
104
|`AGENT_NAME`| The name of the agent. This will be used in invitations and will be publicly advertised. |
105
105
|`AGENT_PORT`| The port that is exposed for incoming traffic. Both the HTTP and WS inbound transport handlers are exposes on this port, and HTTP traffic will be upgraded to the WebSocket server when applicable. |
106
+
|`WALLET_NAME`| The name of the wallet to use. |
107
+
|`WALLET_KEY`| The key to unlock the wallet. |
106
108
|`INVITATION_URL`| Optional URL that can be used as the base for the invitation url. This would allow you to render a certain web page that can extract the invitation form the `oob` parameter, and show the QR code, or show useful information to the end-user. Less applicable to mediator URLs. |
107
109
|`POSTGRES_DATABASE_URL`| The postgres database url. |
108
110
|`POSTGRES_USER`| The postgres user. |
@@ -122,6 +124,17 @@ To deploy the mediator, a postgres database is required. Any postgres database w
122
124
123
125
## Using Docker
124
126
127
+
### Using the pre-built Docker Image
128
+
129
+
1. Make sure you're [authenticated to the Github Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry)
130
+
2. Run the docker image using the following command:
131
+
132
+
```sh
133
+
docker run
134
+
```
135
+
136
+
### Building the Docker Image
137
+
125
138
1. Build the docker image
126
139
127
140
```
@@ -131,12 +144,26 @@ docker build \
131
144
.
132
145
```
133
146
134
-
1. Run the docker image
135
-
136
-
```
137
-
docker run ghcr.io/animo/animo-mediator
147
+
2. Run the docker image using the following command:
You can also adapt the `docker-compose.yml` file to your needs. Make sure to use the correct tag. By default `latest` will be used which can have unexpected breakage. See the releases for the latest stable tag.
166
+
140
167
## Roadmap
141
168
142
169
The contents in this repository started out as a simple mediator built using Aries Framework JavaScript that can be used for development. Over time we've added some features, but there's still a lot we want to add to this repository over time. Some things on the roadmap:
0 commit comments