Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add docs for pti o2 service
[pti/o2.git]
/
docker-compose.yml
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
64334b7
..
477441a
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-18,16
+18,21
@@
services:
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
+ - K8S_KUBECONFIG=${K8S_KUBECONFIG}
+ - K8S_APISERVER=${K8S_APISERVER}
+ - K8S_TOKEN=${K8S_TOKEN}
- LOGGING_CONFIG_LEVEL=DEBUG
volumes:
- ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- LOGGING_CONFIG_LEVEL=DEBUG
volumes:
- ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
+ - ./o2app:/o2app
+ - ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- /bin/sh
- ./tests:/tests
entrypoint:
- /bin/sh
- - /tests/o2
ims
-redis-entry.sh
+ - /tests/o2
app
-redis-entry.sh
api:
image: o2imsdms
api:
image: o2imsdms
@@
-39,7
+44,7
@@
services:
- API_HOST=api
- REDIS_HOST=redis
- PYTHONDONTWRITEBYTECODE=1
- API_HOST=api
- REDIS_HOST=redis
- PYTHONDONTWRITEBYTECODE=1
- - FLASK_APP=/o2
ims
/entrypoints/flask_application.py
+ - FLASK_APP=/o2
app
/entrypoints/flask_application.py
- FLASK_DEBUG=1
- PYTHONUNBUFFERED=1
- OS_AUTH_URL=${OS_AUTH_URL}
- FLASK_DEBUG=1
- PYTHONUNBUFFERED=1
- OS_AUTH_URL=${OS_AUTH_URL}
@@
-51,12
+56,12
@@
services:
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
+ - ./o2app:/o2app
+ - ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- ./tests:/tests
entrypoint:
- - flask
- - run
- - --host=0.0.0.0
- - --port=80
+ - /bin/sh
+ - /tests/o2app-api-entry.sh
ports:
- "5005:80"
ports:
- "5005:80"
@@
-81,10
+86,12
@@
services:
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
+ - ./o2app:/o2app
+ - ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- /bin/sh
- ./tests:/tests
entrypoint:
- /bin/sh
- - /tests/o2
ims
-watcher-entry.sh
+ - /tests/o2
app
-watcher-entry.sh
postgres:
image: postgres:9.6
postgres:
image: postgres:9.6