Skip to content

Commit

Permalink
feat: #181
Browse files Browse the repository at this point in the history
  • Loading branch information
liaosunny123 committed Aug 26, 2023
1 parent 84a9b5d commit f2d85a5
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,42 @@ services:
condition: service_healthy
rabbitmq:
condition: service_healthy
msgconsumer:
container_name: "GuGoTik-MsgConsumerService"
build:
dockerfile: Dockerfile
env_file:
- .env.docker.compose
command: [ "/bin/sh", "-c", "export POD_IP=`hostname -i` && ./services/msgconsumer/MsgconsumerService" ]
depends_on:
rdb:
condition: service_healthy
consul:
condition: service_healthy
redis:
condition: service_healthy
jaeger:
condition: service_healthy
rabbitmq:
condition: service_healthy
recommend:
container_name: "GuGoTik-RecommendService"
build:
dockerfile: Dockerfile
env_file:
- .env.docker.compose
command: [ "/bin/sh", "-c", "export POD_IP=`hostname -i` && ./services/recommend/RecommendService" ]
depends_on:
rdb:
condition: service_healthy
consul:
condition: service_healthy
redis:
condition: service_healthy
jaeger:
condition: service_healthy
rabbitmq:
condition: service_healthy
gateway:
container_name: "GuGoTik-GateWay"
build:
Expand Down
5 changes: 5 additions & 0 deletions src/msgconsumer/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package main

func main() {

}
5 changes: 5 additions & 0 deletions src/recommend/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package main

func main() {

}

0 comments on commit f2d85a5

Please sign in to comment.