diff options
author | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 13:26:22 +0300 |
---|---|---|
committer | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 15:44:45 +0300 |
commit | 0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch) | |
tree | 291d72dbd7e9865399f668c84d11ed86fb190bbf /library/recipes/docker_compose/example/app.py | |
parent | cb2c8d75065e5b3c47094067cb4aa407d4813298 (diff) | |
download | ydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz |
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'library/recipes/docker_compose/example/app.py')
-rw-r--r-- | library/recipes/docker_compose/example/app.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/library/recipes/docker_compose/example/app.py b/library/recipes/docker_compose/example/app.py new file mode 100644 index 0000000000..77afcc9b6a --- /dev/null +++ b/library/recipes/docker_compose/example/app.py @@ -0,0 +1,17 @@ +import time + +import redis +from flask import Flask + + +app = Flask(__name__) +cache = redis.Redis(host='redis', port=6379) + + +@app.route('/') +def hello(): + return 'Hello World!' + + +if __name__ == "__main__": + app.run(host="0.0.0.0", debug=True) |