This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
functional.yml
98 lines (91 loc) · 1.99 KB
/
functional.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: '2.1'
services:
data:
extends:
file: data.yml
service: data
cpu_shares: 16
env_file:
- env/${ORO_DB:-mysql}
- env/${ORO_SEARCH_ENGINE:-orm}
- env/functional
environment:
SYMFONY_ENV: test
SYMFONY_DEBUG: 0
healthcheck:
test: ["CMD-SHELL", "ping -c 3 database"]
interval: 30s
timeout: 5s
retries: 20
data-cache:
extends:
file: data.yml
service: data-cache-named
cpu_shares: 16
volumes_from:
- data
env_file:
- env/${ORO_DB:-mysql}
- env/${ORO_SEARCH_ENGINE:-orm}
- env/functional
environment:
SYMFONY_ENV: test
SYMFONY_DEBUG: 0
composer:
extends:
file: composer/composer.yml
service: composer
volumes_from:
- data-cache
env_file:
- env/${ORO_DB:-mysql}
- env/${ORO_SEARCH_ENGINE:-orm}
- env/functional
environment:
SYMFONY_ENV: test
SYMFONY_DEBUG: 0
logging:
driver: ${DOCKER_LOG_DRIVER:-json-file}
cpu_shares: 16
database:
extends:
file: ${ORO_DB:-mysql}/${ORO_DB:-mysql}.yml
service: database
volumes_from:
- data-cache
env_file:
- env/${ORO_DB:-mysql}
- env/${ORO_SEARCH_ENGINE:-orm}
- env/functional
environment:
SYMFONY_ENV: test
SYMFONY_DEBUG: 0
logging:
driver: ${DOCKER_LOG_DRIVER:-json-file}
php:
extends:
file: php/php.yml
service: php
depends_on:
database: { condition: service_healthy }
volumes_from:
- data-cache
env_file:
- env/${ORO_DB:-mysql}
- env/${ORO_SEARCH_ENGINE:-orm}
- env/functional
environment:
SYMFONY_ENV: test
SYMFONY_DEBUG: 0
logging:
driver: ${DOCKER_LOG_DRIVER:-json-file}
cpu_shares: 3072
networks:
default:
ipam:
config:
- subnet: 172.${NETWORK:-72}.${SUB_NETWORK:-0}.0/27
volumes:
cache:
external:
name: ${PROJECT_NAME:-functional}_cache${CACHE_VOLUME:-0}