blob: 1f790eecc6d25eec69cb0e1147711e58802c16cb (
plain)
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
99
100
|
version: '2'
services:
data:
image: chsa/adei:latest
command: /bin/false
volumes:
- src:/adei/src
- tmp:/adei/tmp
- sys:/adei/sys
- cfg:/adei/cfg
- mail:/var/spool/mail
- logs:/var/log/apache2
mysql:
build: ./mysql
tty: true
restart: always
volumes:
- db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: adei
MYSQL_DATABASE: adei
MYSQL_USER: adei
MYSQL_PASSWORD: adei
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
links:
- mysql:db
ports:
- 8080:80
backend:
image: chsa/adei:latest
tty: true
entrypoint: /opt/scripts/run-cron.sh
restart: always
volumes_from:
- data
links:
- mysql:adei-mysql
environment:
- ADEI_ENABLED_SETUPS=autogen
ports: []
frontend:
image: chsa/adei:latest
tty: true
entrypoint: /opt/scripts/run-apache.sh
restart: always
volumes_from:
- data
links:
- mysql:adei-mysql
environment:
- ADEI_PORTS=81
ports:
- 81:80
tango_backend:
image: chsa/adei:latest
tty: true
entrypoint: /opt/scripts/run-cron.sh
restart: always
volumes_from:
- data
links:
- mysql:adei-mysql
environment:
- ADEI_ENABLED_SETUPS=tango
- MYSQL_DATABASE=adei_tango
ports: []
cpu_quota: 10000
tango_frontend:
image: chsa/adei:latest
tty: true
entrypoint: /opt/scripts/run-apache.sh
restart: always
volumes_from:
- data
links:
- mysql:adei-mysql
environment:
- ADEI_SETUP=tango
- ADEI_PORTS=82
- MYSQL_DATABASE=adei_tango
ports:
- 82:80
volumes:
db:
src:
tmp:
cfg:
sys:
mail:
logs:
|