Cucumber/docker-compose.yml
mfnefd 49c7d14925 Merge branch 'FarmCRUD' into dev
mac to ip, dockerfile and docker-compose
2024-11-13 02:08:51 +04:00

38 lines
714 B
YAML

services:
cloud:
build: ./Cloud/
ports:
- "5124:5124"
depends_on:
- postgres
- redis
postgres:
image: postgres:14
container_name: cucumber_database
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 12345
POSTGRES_DB: main_database
ports:
- "5438:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
image: 'redis:latest'
ports:
- '6379:6379'
volumes:
- 'cloud-redis:/data'
healthcheck:
test:
- CMD
- redis-cli
- ping
retries: 3
timeout: 5s
volumes:
postgres_data:
driver: local
cloud-redis:
driver: local