forked from neumanniTech/docker-jtl-shop-stack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (44 loc) · 1.09 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
version: "3.8"
services:
jtl-shop:
image: jtl-shop
build:
context: ./docker/web
args:
PHP_VERSION: "${PHP_VERSION}"
JTL_VERSION: "${JTL_VERSION}"
TZ: Europe/Berlin
ports:
- "80:80"
depends_on:
- "jtl-db"
volumes:
- jtl_shop:/var/www/html
jtl-db:
image: mariadb:10
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
MYSQL_USER: "${MYSQL_USER}"
MYSQL_PASSWORD: "${MYSQL_PASSWORD}"
TZ: "Europe/Berlin"
MYSQL_DATABASE: "${MYSQL_DATABASE}"
volumes:
- jtl_db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin
ports:
- "8080:80"
environment:
PMA_HOST: jtl-db
TZ: "Europe/Berlin"
depends_on:
- "jtl-db"
mail:
image: maildev/maildev
ports:
- "1080:1080"
volumes:
jtl_db:
jtl_shop: