updated postgres and mongo updated

This commit is contained in:
2025-04-20 14:21:13 +03:00
parent 71822681f2
commit cc19cb7e6d
85 changed files with 6090 additions and 1986 deletions

55
old.compose.yml Normal file
View File

@@ -0,0 +1,55 @@
services:
mongo_service:
container_name: mongo_service
image: "bitnami/mongodb:latest"
networks:
- wag-services
restart: "on-failure"
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