Cucumber/docker-compose.yml

38 lines
714 B
YAML
Raw Normal View History

2024-10-28 00:25:51 +04:00
services:
cloud:
build: ./Cloud/
2024-11-13 01:49:13 +04:00
ports:
- "5124:5124"
depends_on:
- postgres
- redis
2024-10-28 00:25:51 +04:00
postgres:
2024-11-13 01:49:13 +04:00
image: postgres:14
2024-10-28 00:25:51 +04:00
container_name: cucumber_database
environment:
2024-11-13 01:49:13 +04:00
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 12345
POSTGRES_DB: main_database
2024-10-28 00:25:51 +04:00
ports:
2024-11-13 01:49:13 +04:00
- "5438:5432"
2024-10-28 00:25:51 +04:00
volumes:
- postgres_data:/var/lib/postgresql/data
2024-11-10 13:35:23 +04:00
redis:
image: 'redis:latest'
ports:
- '6379:6379'
volumes:
- 'cloud-redis:/data'
healthcheck:
test:
- CMD
- redis-cli
- ping
retries: 3
timeout: 5s
2024-10-28 00:25:51 +04:00
volumes:
postgres_data:
2024-11-10 13:35:23 +04:00
driver: local
cloud-redis:
driver: local