mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
updates
This commit is contained in:
parent
bfe53146ff
commit
3974dc1bd9
@ -163,7 +163,7 @@ func main() {
|
||||
|
||||
func getPlaylists(ctx context.Context)(response string){
|
||||
|
||||
span, _ := opentracing.StartSpanFromContext(ctx, "redis-get")
|
||||
span, _ := opentracing.StartSpanFromContext(ctx, "playlists-api - redis-get")
|
||||
defer span.Finish()
|
||||
playlistData, err := rdb.Get(ctx, "playlists").Result()
|
||||
|
||||
|
@ -109,7 +109,7 @@ func main() {
|
||||
|
||||
func video(writer http.ResponseWriter, request *http.Request, p httprouter.Params, ctx context.Context)(response string){
|
||||
|
||||
span, _ := opentracing.StartSpanFromContext(ctx, "redis-get")
|
||||
span, _ := opentracing.StartSpanFromContext(ctx, "videos api - redis-get")
|
||||
defer span.Finish()
|
||||
id := p.ByName("id")
|
||||
fmt.Print(id)
|
||||
|
@ -2,14 +2,14 @@ version: "3.4"
|
||||
services:
|
||||
videos-web:
|
||||
container_name: videos-web
|
||||
image: aimvector/service-mesh:videos-web-2.0.4
|
||||
image: aimvector/service-mesh:videos-web-2.0.5
|
||||
build:
|
||||
context: ./applications/videos-web
|
||||
ports:
|
||||
- 80:80
|
||||
playlists-api:
|
||||
container_name: playlists-api
|
||||
image: aimvector/service-mesh:playlists-api-2.0.4
|
||||
image: aimvector/service-mesh:playlists-api-2.0.5
|
||||
build:
|
||||
context: ./applications/playlists-api
|
||||
environment:
|
||||
@ -22,7 +22,7 @@ services:
|
||||
- 81:10010
|
||||
videos-api:
|
||||
container_name: videos-api
|
||||
image: aimvector/service-mesh:videos-api-2.0.4
|
||||
image: aimvector/service-mesh:videos-api-2.0.5
|
||||
build:
|
||||
context: ./applications/videos-api
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user