add docker
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
redis:
|
||||
image: redis:7
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
mongodb:
|
||||
image: mongo:7
|
||||
command: ["--replSet", "rs0"]
|
||||
ports:
|
||||
- "27017:27017"
|
||||
|
||||
user-service:
|
||||
build: ./user-service
|
||||
depends_on:
|
||||
- redis
|
||||
- mongodb
|
||||
|
||||
giftcode-service:
|
||||
build: ./giftcode-service
|
||||
depends_on:
|
||||
- redis
|
||||
- mongodb
|
||||
|
||||
Reference in New Issue
Block a user