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
@@ -128,21 +131,27 @@ Before running the following commands, ensure that the URL for the Redis server
128
131
To run the application via Docker, run the following command:
129
132
130
133
1. Set up the Go Docker container for the matching service
134
+
131
135
```bash
132
136
docker build -f Dockerfile -t match-go-app .
133
137
```
134
138
135
139
2. Create the Docker network for Redis and Go
140
+
136
141
```bash
137
142
docker network create redis-go-network
138
143
```
139
144
140
145
3. Start a new Redis container in detached mode using the Redis image from Docker Hub
146
+
141
147
```bash
142
148
docker run -d --name redis-container --network redis-go-network redis
143
149
```
144
150
145
151
4. Run the Go Docker container for the matching-service
152
+
146
153
```bash
147
154
docker run -d -p 8081:8081 --name go-app-container --network redis-go-network match-go-app
148
155
```
156
+
157
+
**NOTE:** As there is a dependency on the question-service to return the found questions, the matching-service does not work fully unless the question-service is present.
0 commit comments