-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (62 loc) · 1.25 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
version: '2'
services:
fpm:
image: borin/userside:php5.6-fpm
environment:
- TZ=Asia/Yekaterinburg
volumes:
- web:/opt/userside:rw
nginx:
image: borin/userside:nginx-latest
environment:
- TZ=Asia/Yekaterinburg
ports:
- 80:80
volumes:
- web:/opt/userside:rw
mysql:
image: mysql:5.7
volumes:
- mysql:/var/lib/mysql
environment:
- MYSQL_DATABASE=userside
- MYSQL_USER=userside
- MYSQL_PASSWORD=userside
- MYSQL_ROOT_PASSWORD=root_pwd
- TZ=Asia/Yekaterinburg
command:
--character-set-server=utf8
--collation-server=utf8_general_ci
--default-storage-engine=innodb
--innodb_file_per_table
--innodb_buffer_pool_size=256M
--join_buffer_size=8M
--tmp_table_size=64M
--max_heap_table_size=64M
--query_cache_limit=64M
--max_allowed_packet=10M
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- PMA_HOST=mysql
- TZ=Asia/Yekaterinburg
ports:
- 8080:80
postgres:
image: borin/userside:postgres-10
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=userside
- POSTGRES_PASSWORD=userside
- TZ=Asia/Yekaterinburg
adminer:
image: adminer
environment:
- ADMINER_DESIGN=pappu687
ports:
- 8081:8080
volumes:
web:
mysql:
postgres: