forked from slydetector/simply-nzedb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
48 lines (42 loc) · 880 Bytes
/
docker-compose.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
version: '2.1'
# newer docker-compose version allows for conditional start orders.
# Unfortunately, this is only working with MariaDB 10.2 and higher.
services:
database:
extends:
file: common.yml
service: database
nzedb:
extends:
file: common.yml
service: nzedb
links:
- database
- redis
depends_on:
- database
#condition: service_healthy
- redis
#condition: service_started
adminer:
extends:
file: common.yml
service: adminer
links:
- database:db
depends_on:
- database
# condition: service_healthy
redis:
extends:
file: common.yml
service: redis
phpmyadmin:
extends:
file: common.yml
service: phpmyadmin
links:
- database:db
depends_on:
- database
# condition: service_healthy