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){
|
func getPlaylists(ctx context.Context)(response string){
|
||||||
|
|
||||||
span, _ := opentracing.StartSpanFromContext(ctx, "redis-get")
|
span, _ := opentracing.StartSpanFromContext(ctx, "playlists-api - redis-get")
|
||||||
defer span.Finish()
|
defer span.Finish()
|
||||||
playlistData, err := rdb.Get(ctx, "playlists").Result()
|
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){
|
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()
|
defer span.Finish()
|
||||||
id := p.ByName("id")
|
id := p.ByName("id")
|
||||||
fmt.Print(id)
|
fmt.Print(id)
|
||||||
|
@ -2,14 +2,14 @@ version: "3.4"
|
|||||||
services:
|
services:
|
||||||
videos-web:
|
videos-web:
|
||||||
container_name: 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:
|
build:
|
||||||
context: ./applications/videos-web
|
context: ./applications/videos-web
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
playlists-api:
|
playlists-api:
|
||||||
container_name: 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:
|
build:
|
||||||
context: ./applications/playlists-api
|
context: ./applications/playlists-api
|
||||||
environment:
|
environment:
|
||||||
@ -22,7 +22,7 @@ services:
|
|||||||
- 81:10010
|
- 81:10010
|
||||||
videos-api:
|
videos-api:
|
||||||
container_name: 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:
|
build:
|
||||||
context: ./applications/videos-api
|
context: ./applications/videos-api
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user