-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
82 lines (75 loc) · 1.83 KB
/
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
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
# docker-compose.yml
# 2023 - 2024
#
# MIT License, Copyright (c) 2008 - 2024 Heiko Lübbe
# https://github.com/muhme/quote_joomla
services:
mysql:
container_name: quote_joomla_mysql
image: mysql # Joomla 5 needs >= 8.0.13, actual 8.1.0
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
mysqladmin:
container_name: quote_joomla_mysqladmin
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: quote_joomla_mysql
PMA_USER: root
PMA_PASSWORD: root
ports:
- "2001:80"
restart: unless-stopped
depends_on:
- mysql
joomla3:
container_name: quote_joomla_3
image: joomla:3 # October 2024: 3.10.12
restart: always
ports:
- 2003:80
environment:
JOOMLA_DB_HOST: mysql
JOOMLA_DB_PASSWORD: root
volumes:
- .:/quote_joomla
depends_on:
- mysql
joomla4:
container_name: quote_joomla_4
image: joomla:4 # October 2024: 4.4.4
restart: unless-stopped
ports:
- 2004:80
environment:
JOOMLA_DB_HOST: mysql
JOOMLA_DB_PASSWORD: root
volumes:
- .:/quote_joomla
depends_on:
- mysql
joomla5:
container_name: quote_joomla_5
image: joomla:5 # October 2024: 5.0.0
restart: unless-stopped
ports:
- 2005:80
environment:
JOOMLA_DB_HOST: mysql
JOOMLA_DB_PASSWORD: root
volumes:
- .:/quote_joomla
depends_on:
- mysql
cypress:
container_name: quote_joomla_cypress
image: cypress/included # October 2024: 13.3.0 + Chrome 116. + Edge 116. + Firefox 117.
restart: unless-stopped
entrypoint: ["sleep", "31536000"] # don't use cypress run, instead sleep one year
ports:
- 2080:80
volumes:
- .:/quote_joomla
extra_hosts:
- "host.docker.internal:host-gateway"
working_dir: /quote_joomla/test