forked from InfluxOW/laravel_ddd_ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
51 lines (47 loc) · 1.31 KB
/
docker-compose.test.yml
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
47
48
49
50
51
# For more information: https://laravel.com/docs/sail
services:
application_test:
extends:
file: docker-compose.yml
service: application
environment:
DB_HOST: database_test
REDIS_HOST: redis_test
ELASTICSEARCH_URL: http://elasticsearch_test:9200
XDEBUG_MODE: ${SAIL_XDEBUG_MODE}
depends_on:
database_test:
condition: service_healthy
redis_test:
condition: service_healthy
elasticsearch_test:
condition: service_healthy
command: >
--no-supervisor
networks:
- sail_test
database_test:
extends:
file: docker-compose.yml
service: database
image: postgis/postgis:${POSTGRES_VERSION}-alpine
ports:
- ${FORWARD_TEST_DB_PORT}:5432
networks:
- sail_test
redis_test:
extends:
file: docker-compose.yml
service: redis
image: redis:${REDIS_VERSION}-alpine
networks:
- sail_test
elasticsearch_test:
extends:
file: docker-compose.yml
service: elasticsearch
networks:
- sail_test
networks:
sail_test:
driver: bridge