-
Notifications
You must be signed in to change notification settings - Fork 48
/
docker-compose.yml
84 lines (77 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
83
84
version: "3.1"
services:
bagisto-php-apache:
build:
args:
uid: 1000
user: $USER
container_project_path: /var/www/html/
context: .
dockerfile: ./Dockerfile
image: bagisto-php-apache
ports:
- 80:80
volumes:
- ./workspace/:/var/www/html/
bagisto-mysql:
image: mysql:8.0
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
volumes:
- ./.configs/mysql-data:/var/lib/mysql/
bagisto-redis:
image: redis:6.2-alpine
ports:
- 6379:6379
command: redis-server --save 20 1 --loglevel warning
volumes:
- ./.configs/redis-data:/data
bagisto-phpmyadmin:
image: phpmyadmin:latest
environment:
PMA_HOST: bagisto-mysql
PMA_USER: root
PMA_PASSWORD: root
UPLOAD_LIMIT: 512M
ports:
- 8080:80
bagisto-elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- ./.configs/elasticsearch-data:/var/lib/elasticsearch/data
ports:
- 9200:9200
- 9300:9300
bagisto-kibana:
image: docker.elastic.co/kibana/kibana:7.17.0
environment:
- ELASTICSEARCH_HOSTS=http://bagisto-elasticsearch:9200
ports:
- 5601:5601
depends_on:
- bagisto-elasticsearch
bagisto-mailpit:
image: axllent/mailpit:latest
logging:
# Disable saving logs.
driver: 'none'
ports:
# SMTP server.
- 1025:1025
- 8025:8025