updated postgres and mongo updated
This commit is contained in:
@@ -1,59 +1,4 @@
|
||||
services:
|
||||
|
||||
mongo_service:
|
||||
container_name: mongo_service
|
||||
image: "bitnami/mongodb:latest"
|
||||
networks:
|
||||
- wag-services
|
||||
environment:
|
||||
- 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
|
||||
ports:
|
||||
- "11777:27017"
|
||||
volumes:
|
||||
- mongodb-data:/bitnami/mongodb
|
||||
mem_limit: 2048M
|
||||
cpus: 1.0
|
||||
|
||||
postgres-service:
|
||||
container_name: postgres-service
|
||||
image: "bitnami/postgresql:latest"
|
||||
networks:
|
||||
- wag-services
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
- mongo_service
|
||||
environment:
|
||||
- POSTGRES_DB=wag_database
|
||||
- POSTGRES_USER=berkay_wag_user
|
||||
- POSTGRES_PASSWORD=berkay_wag_user_password
|
||||
ports:
|
||||
- "5444:5432"
|
||||
volumes:
|
||||
- postgres-data:/bitnami/postgresql
|
||||
|
||||
redis_service:
|
||||
container_name: redis_service
|
||||
image: "bitnami/redis:latest"
|
||||
networks:
|
||||
- wag-services
|
||||
restart: on-failure
|
||||
environment:
|
||||
- REDIS_HOST=redis_service
|
||||
- REDIS_PASSWORD=commercial_redis_password
|
||||
- REDIS_PORT=6379
|
||||
- REDIS_DB=0
|
||||
ports:
|
||||
- "11222:6379"
|
||||
mem_limit: 512M
|
||||
cpus: 0.5
|
||||
|
||||
client_frontend:
|
||||
container_name: client_frontend
|
||||
build:
|
||||
@@ -61,43 +6,43 @@ services:
|
||||
dockerfile: WebServices/client-frontend/Dockerfile
|
||||
networks:
|
||||
- wag-services
|
||||
ports:
|
||||
- "3000:3000"
|
||||
# volumes:
|
||||
# - client-frontend:/WebServices/client-frontend
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
mem_limit: 4096M
|
||||
cpus: 1.5
|
||||
|
||||
identity_service:
|
||||
container_name: identity_service
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ApiServices/IdentityService/Dockerfile
|
||||
networks:
|
||||
- wag-services
|
||||
env_file:
|
||||
- api_env.env
|
||||
environment:
|
||||
- API_PATH=app:app
|
||||
- API_HOST=0.0.0.0
|
||||
- API_PORT=8002
|
||||
- API_LOG_LEVEL=info
|
||||
- API_RELOAD=1
|
||||
- API_APP_NAME=evyos-identity-api-gateway
|
||||
- API_TITLE=WAG API Identity Api Gateway
|
||||
- API_FORGOT_LINK=https://identity_service/forgot-password
|
||||
- API_DESCRIPTION=This api is serves as web identity api gateway only to evyos web services.
|
||||
- API_APP_URL=https://identity_service
|
||||
ports:
|
||||
- "8002:8002"
|
||||
depends_on:
|
||||
- postgres-service
|
||||
- mongo_service
|
||||
- redis_service
|
||||
mem_limit: 512M
|
||||
cpus: 0.5
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
# volumes:
|
||||
# - client-frontend:/WebServices/client-frontend
|
||||
|
||||
# identity_service:
|
||||
# container_name: identity_service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ApiServices/IdentityService/Dockerfile
|
||||
# networks:
|
||||
# - wag-services
|
||||
# env_file:
|
||||
# - api_env.env
|
||||
# environment:
|
||||
# - API_PATH=app:app
|
||||
# - API_HOST=0.0.0.0
|
||||
# - API_PORT=8002
|
||||
# - API_LOG_LEVEL=info
|
||||
# - API_RELOAD=1
|
||||
# - API_APP_NAME=evyos-identity-api-gateway
|
||||
# - API_TITLE=WAG API Identity Api Gateway
|
||||
# - API_FORGOT_LINK=https://identity_service/forgot-password
|
||||
# - API_DESCRIPTION=This api is serves as web identity api gateway only to evyos web services.
|
||||
# - API_APP_URL=https://identity_service
|
||||
# ports:
|
||||
# - "8002:8002"
|
||||
# depends_on:
|
||||
# - postgres-service
|
||||
# - mongo_service
|
||||
# - redis_service
|
||||
# mem_limit: 512M
|
||||
# cpus: 0.5
|
||||
|
||||
auth_service:
|
||||
container_name: auth_service
|
||||
@@ -142,61 +87,61 @@ services:
|
||||
# environment:
|
||||
# - NODE_ENV=development
|
||||
|
||||
# initializer_service:
|
||||
# container_name: initializer_service
|
||||
# initializer_service:
|
||||
# container_name: initializer_service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ApiServices/InitialService/Dockerfile
|
||||
# networks:
|
||||
# - wag-services
|
||||
# env_file:
|
||||
# - api_env.env
|
||||
# depends_on:
|
||||
# - postgres-service
|
||||
# - mongo_service
|
||||
# - redis_service
|
||||
|
||||
dealer_service:
|
||||
container_name: dealer_service
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ApiServices/DealerService/Dockerfile
|
||||
networks:
|
||||
- wag-services
|
||||
env_file:
|
||||
- api_env.env
|
||||
depends_on:
|
||||
- postgres-service
|
||||
- mongo_service
|
||||
- redis_service
|
||||
|
||||
# template_service:
|
||||
# container_name: template_service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ApiServices/InitialService/Dockerfile
|
||||
# dockerfile: ApiServices/TemplateService/Dockerfile
|
||||
# networks:
|
||||
# - wag-services
|
||||
# env_file:
|
||||
# - api_env.env
|
||||
# environment:
|
||||
# - API_PATH=app:app
|
||||
# - API_HOST=0.0.0.0
|
||||
# - API_PORT=8000
|
||||
# - API_LOG_LEVEL=info
|
||||
# - API_RELOAD=1
|
||||
# - API_APP_NAME=evyos-template-api-gateway
|
||||
# - API_TITLE=WAG API Template Api Gateway
|
||||
# - API_FORGOT_LINK=https://template_service/forgot-password
|
||||
# - API_DESCRIPTION=This api is serves as web template api gateway only to evyos web services.
|
||||
# - API_APP_URL=https://template_service
|
||||
# ports:
|
||||
# - "8000:8000"
|
||||
# depends_on:
|
||||
# - postgres-service
|
||||
# - mongo_service
|
||||
# - redis_service
|
||||
|
||||
# dealer_service:
|
||||
# container_name: dealer_service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ApiServices/DealerService/Dockerfile
|
||||
# networks:
|
||||
# - wag-services
|
||||
# env_file:
|
||||
# - api_env.env
|
||||
# depends_on:
|
||||
# - postgres-service
|
||||
# - mongo_service
|
||||
# - redis_service
|
||||
|
||||
# template_service:
|
||||
# container_name: template_service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ApiServices/TemplateService/Dockerfile
|
||||
# networks:
|
||||
# - wag-services
|
||||
# env_file:
|
||||
# - api_env.env
|
||||
# environment:
|
||||
# - API_PATH=app:app
|
||||
# - API_HOST=0.0.0.0
|
||||
# - API_PORT=8000
|
||||
# - API_LOG_LEVEL=info
|
||||
# - API_RELOAD=1
|
||||
# - API_APP_NAME=evyos-template-api-gateway
|
||||
# - API_TITLE=WAG API Template Api Gateway
|
||||
# - API_FORGOT_LINK=https://template_service/forgot-password
|
||||
# - API_DESCRIPTION=This api is serves as web template api gateway only to evyos web services.
|
||||
# - API_APP_URL=https://template_service
|
||||
# ports:
|
||||
# - "8000:8000"
|
||||
# depends_on:
|
||||
# - postgres-service
|
||||
# - mongo_service
|
||||
# - redis_service
|
||||
|
||||
# test_server:
|
||||
# container_name: test_server
|
||||
# build:
|
||||
|
||||
Reference in New Issue
Block a user