-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 1.1 KB
/
docker-compose.yaml
File metadata and controls
46 lines (42 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
services:
postgres:
image: postgres:17
container_name: entity_injector_postgres_test
ports:
- "5432:5432"
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 5s
timeout: 5s
retries: 12
networks:
- entity-injector-net
cosmos:
image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview
container_name: entity_injector_cosmos_test
ports:
- "8081:8081"
- "1234:1234"
command: ["--protocol", "https"]
environment:
AZURE_COSMOS_EMULATOR_PARTITION_COUNT: 3
AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE: "true"
tty: true
stdin_open: true
healthcheck:
test: curl -k https://localhost:8081/_explorer/emulator.pem || exit 1
interval: 10s
timeout: 5s
retries: 30
networks:
- entity-injector-net
volumes:
postgres-test-data:
networks:
entity-injector-net: