new api service and logic implemented
This commit is contained in:
93
DockerStoreServices/.dockerignore
Normal file
93
DockerStoreServices/.dockerignore
Normal file
@@ -0,0 +1,93 @@
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
|
||||
# CI
|
||||
.codeclimate.yml
|
||||
.travis.yml
|
||||
.taskcluster.yml
|
||||
|
||||
# Docker
|
||||
docker-compose.yml
|
||||
service_app/Dockerfile
|
||||
.docker
|
||||
.dockerignore
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
**/__pycache__/
|
||||
**/*.py[cod]
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
service_app/env/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Virtual environment
|
||||
service_app/.env
|
||||
.venv/
|
||||
venv/
|
||||
|
||||
# PyCharm
|
||||
.idea
|
||||
|
||||
# Python mode for VIM
|
||||
.ropeproject
|
||||
**/.ropeproject
|
||||
|
||||
# Vim swap files
|
||||
**/*.swp
|
||||
|
||||
# VS Code
|
||||
.vscode/
|
||||
|
||||
test_application/
|
||||
|
||||
|
||||
4
DockerStoreServices/commercial_main_memory_service.env
Normal file
4
DockerStoreServices/commercial_main_memory_service.env
Normal file
@@ -0,0 +1,4 @@
|
||||
REDIS_HOST=commercial_redis_service
|
||||
REDIS_PASSWORD=commercial_redis_password
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=0
|
||||
8
DockerStoreServices/commercial_main_mongo_service.env
Normal file
8
DockerStoreServices/commercial_main_mongo_service.env
Normal file
@@ -0,0 +1,8 @@
|
||||
MONGODB_DISABLE_ENFORCE_AUTH=true
|
||||
MONGODB_ROOT_PASSWORD=root
|
||||
MONGODB_DATABASE=mongo_database
|
||||
MONGODB_USERNAME=mongo_user
|
||||
MONGODB_PASSWORD=mongo_password
|
||||
MONGO_INITDB_ROOT_USERNAME=mongo_user
|
||||
MONGO_INITDB_ROOT_PASSWORD=mongo_password
|
||||
MONGO_INITDB_DATABASE=mongo_database
|
||||
48
DockerStoreServices/debian-docker-compose.yml
Normal file
48
DockerStoreServices/debian-docker-compose.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
services:
|
||||
|
||||
commercial_main_mongo_service:
|
||||
container_name: commercial_main_mongo_service
|
||||
# image: "bitnami/mongodb:latest"
|
||||
image: "bitnami/mongodb:4.4.1-debian-10-r3"
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- commercial_main_mongo_service.env
|
||||
volumes:
|
||||
- wag_commercial_mongodb_main_data:/bitnami/mongodb
|
||||
ports:
|
||||
- "11777:27017"
|
||||
|
||||
commercial_main_memory_service:
|
||||
container_name: commercial_main_memory_service
|
||||
image: 'bitnami/redis:latest'
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- commercial_main_memory_service.env
|
||||
ports:
|
||||
- "11222:6379"
|
||||
|
||||
postgres_main_commercial:
|
||||
image: 'bitnami/postgresql:latest'
|
||||
container_name: postgres_main_commercial
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- postgres_main_commercial.env
|
||||
depends_on:
|
||||
- commercial_main_mongo_service
|
||||
ports:
|
||||
- "5444:5432"
|
||||
volumes:
|
||||
- wag_postgres_main_commercial_data:/bitnami/postgresql
|
||||
|
||||
networks:
|
||||
network_store_services:
|
||||
|
||||
volumes:
|
||||
wag_postgres_main_commercial_data:
|
||||
wag_commercial_mongodb_main_data:
|
||||
48
DockerStoreServices/local-docker-compose.yml
Normal file
48
DockerStoreServices/local-docker-compose.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
services:
|
||||
|
||||
commercial_main_mongo_service:
|
||||
container_name: commercial_main_mongo_service
|
||||
image: "bitnami/mongodb:latest"
|
||||
# image: "bitnami/mongodb:4.4.1-debian-10-r3"
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- commercial_main_mongo_service.env
|
||||
volumes:
|
||||
- wag_commercial_mongodb_main_data:/bitnami/mongodb
|
||||
ports:
|
||||
- "11777:27017"
|
||||
|
||||
commercial_main_memory_service:
|
||||
container_name: commercial_main_memory_service
|
||||
image: 'bitnami/redis:latest'
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- commercial_main_memory_service.env
|
||||
ports:
|
||||
- "11222:6379"
|
||||
|
||||
postgres_main_commercial:
|
||||
image: 'bitnami/postgresql:latest'
|
||||
container_name: postgres_main_commercial
|
||||
networks:
|
||||
- network_store_services
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- postgres_main_commercial.env
|
||||
depends_on:
|
||||
- commercial_mongo_service
|
||||
ports:
|
||||
- "5444:5432"
|
||||
volumes:
|
||||
- wag_postgres_main_commercial_data:/bitnami/postgresql
|
||||
|
||||
networks:
|
||||
network_store_services:
|
||||
|
||||
volumes:
|
||||
wag_postgres_main_commercial_data:
|
||||
wag_commercial_mongodb_main_data:
|
||||
3
DockerStoreServices/postgres_main_commercial.env
Normal file
3
DockerStoreServices/postgres_main_commercial.env
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_DB=wag_database
|
||||
POSTGRES_USER=berkay_wag_user
|
||||
POSTGRES_PASSWORD=berkay_wag_user_password
|
||||
Reference in New Issue
Block a user