-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (75 loc) · 2.34 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
# Docker compose for the development environment
version: '3.7'
services:
# MySql Server
# For more infos check: https://hub.docker.com/_/mysql/
mysql:
labels:
com.gitpod.gpt.category: "database"
image: mysql:5.7
container_name: "mysql"
ports:
# make this port public so it can also accessed via HeidiSQL or similar tools
- 3306:3306
environment:
# mysql root password
- MYSQL_ROOT_PASSWORD=gitpod
command: [mysqld, --query-cache-type=1, --query_cache_size=128M, --query_cache_limit=16M, --key_buffer_size=16M, --table_open_cache=64, --sort_buffer_size=512K, --net_buffer_length=8K, --read_buffer_size=256K, --read_rnd_buffer_size=512K, --myisam_sort_buffer_size=8M]
# Mailpit (can fetch all outgoing mails and show them via webinterface)
# For more infos check: https://hub.docker.com/r/axllent/mailpit
mailpit:
labels:
com.gitpod.gpt.category: "mail"
image: axllent/mailpit:latest
container_name: "mailpit"
ports:
# make this port public for the webinterface
- 8025:8025
# port for incoming mails
- 1025:1025
# Redis Server
# For more infos check: https://hub.docker.com/_/redis
redis:
labels:
com.gitpod.gpt.category: "cache"
image: redis:latest
container_name: "redis"
ports:
- 6379:6379
# PhpMyAdmin
# For more infos check: https://hub.docker.com/_/phpmyadmin
phpmyadmin:
labels:
com.gitpod.gpt.category: "tools"
image: phpmyadmin/phpmyadmin:latest
container_name: "pma"
restart: always
links:
- mysql
environment:
PMA_HOST: "mysql"
PMA_PORT: 3306
PMA_USER: "root"
PMA_PASSWORD: "gitpod"
UPLOAD_LIMIT: 2048M
PMA_PMADB: "pma"
ports:
- "8081:80"
volumes:
- /tmp/apache2/logs:/var/log/apache2
# PhpCacheAdmin
# For more infos check: https://hub.docker.com/r/robinn/phpcacheadmin
phpcacheadmin:
labels:
com.gitpod.gpt.category: "tools"
image: robinn/phpcacheadmin
container_name: "phpcacheadmin"
ports:
- "8082:80"
environment:
- PCA_REDIS_0_HOST=redis
- PCA_REDIS_0_PORT=6379
links:
- redis
volumes:
- /tmp/apache2/logs:/var/log/apache2