build:
context: .
dockerfile: Dockerfile.localtest
- image: o2imsdms-image
+ image: o2imsdms
depends_on:
- postgres
- redis
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
+ - LOGGING_CONFIG_LEVEL=DEBUG
volumes:
+ - ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./tests:/tests
entrypoint:
- - python
- - /o2ims/entrypoints/redis_eventconsumer.py
+ - /bin/sh
+ - /tests/o2ims-redis-entry.sh
api:
- image: o2imsdms-image
+ image: o2imsdms
depends_on:
- redis_pubsub
environment:
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
+ - LOGGING_CONFIG_LEVEL=DEBUG
volumes:
+ - ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
build:
context: .
dockerfile: Dockerfile.localtest
- image: o2imsdms-image
+ image: o2imsdms
depends_on:
- - postgres
- - redis
+ - redis_pubsub
environment:
- DB_HOST=postgres
- DB_PASSWORD=o2ims123
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
+ - LOGGING_CONFIG_LEVEL=DEBUG
volumes:
+ - ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./tests:/tests
entrypoint:
- /bin/sh
- - /o2ims/entrypoints/o2ims-watcher-entry.sh
+ - /tests/o2ims-watcher-entry.sh
postgres:
image: postgres:9.6