Skip to content

Commit 49b45ca

Browse files
Add description for Docker instructions
1 parent f8a7759 commit 49b45ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/matching-service/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,22 @@ Before running the following commands, ensure that the URL for the Redis server
127127

128128
To run the application via Docker, run the following command:
129129

130+
1. Set up the Go Docker container for the matching service
130131
```bash
131132
docker build -f Dockerfile -t match-go-app .
132133
```
133134

135+
2. Create the Docker network for Redis and Go
134136
```bash
135137
docker network create redis-go-network
136138
```
137139

140+
3. Start a new Redis container in detached mode using the Redis image from Docker Hub
138141
```bash
139142
docker run -d --name redis-container --network redis-go-network redis
140143
```
141144

145+
4. Run the Go Docker container for the matching-service
142146
```bash
143147
docker run -d -p 8081:8081 --name go-app-container --network redis-go-network match-go-app
144148
```

0 commit comments

Comments
 (0)