X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose.yml;h=552154df56ea079437ebdf4277fca035de02e364;hb=44f01a560347914798d8f913696d0e495ee076f8;hp=02190b219c8d88186d7a4690cc8d2f6e1249ca2c;hpb=d4513e022d7d75d9967072cec1e0d7db34571120;p=pti%2Fo2.git diff --git a/docker-compose.yml b/docker-compose.yml index 02190b2..552154d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: build: context: . dockerfile: Dockerfile.localtest - image: o2imsdms-image + image: o2imsdms depends_on: - postgres - redis @@ -24,13 +24,14 @@ services: - ./o2ims:/o2ims - ./o2dms:/o2dms - ./o2common:/o2common + - ./o2app:/o2app - ./tests:/tests entrypoint: - /bin/sh - - /tests/o2ims-redis-entry.sh + - /tests/o2app-redis-entry.sh api: - image: o2imsdms-image + image: o2imsdms depends_on: - redis_pubsub environment: @@ -39,7 +40,7 @@ services: - API_HOST=api - REDIS_HOST=redis - PYTHONDONTWRITEBYTECODE=1 - - FLASK_APP=/o2ims/entrypoints/flask_application.py + - FLASK_APP=/o2app/entrypoints/flask_application.py - FLASK_DEBUG=1 - PYTHONUNBUFFERED=1 - OS_AUTH_URL=${OS_AUTH_URL} @@ -51,12 +52,11 @@ services: - ./o2ims:/o2ims - ./o2dms:/o2dms - ./o2common:/o2common + - ./o2app:/o2app - ./tests:/tests entrypoint: - - flask - - run - - --host=0.0.0.0 - - --port=80 + - /bin/sh + - /tests/o2app-api-entry.sh ports: - "5005:80" @@ -64,10 +64,9 @@ services: build: context: . dockerfile: Dockerfile.localtest - image: o2imsdms-image + image: o2imsdms depends_on: - - postgres - - redis + - redis_pubsub environment: - DB_HOST=postgres - DB_PASSWORD=o2ims123 @@ -82,10 +81,11 @@ services: - ./o2ims:/o2ims - ./o2dms:/o2dms - ./o2common:/o2common + - ./o2app:/o2app - ./tests:/tests entrypoint: - /bin/sh - - /tests/o2ims-watcher-entry.sh + - /tests/o2app-watcher-entry.sh postgres: image: postgres:9.6