-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
43 lines (38 loc) · 1019 Bytes
/
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
version: "2"
services:
zurmo:
image: hxquangnhat/zurmo
container_name: zurmo
hostname: zurmo
ports:
- "6066:80"
networks:
- zurmo-net
volumes:
- zurmo_data:/var/www/html/zurmo
mysql:
image: mysql
container_name: mysql-zurmo
hostname: mysql-zurmo
networks:
- zurmo-net
environment:
- MYSQL_ROOT_PASSWORD=admin
- MYSQL_DATABASE=zurmo
- MYSQL_USER=zurmo
- MYSQL_PASSWORD=zurmo
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --default-storage-engine=INNODB --max-sp-recursion-depth=100 --max-allowed-packet=20M --thread-stack=512K --optimizer-search-depth=0 --sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
volumes:
- zurmo_mysql_data:/var/lib/mysql
memcached:
image: memcached
container_name: memcached-zurmo
hostname: memcached-zurmo
networks:
- zurmo-net
networks:
zurmo-net:
driver: bridge
volumes:
zurmo_data:
zurmo_mysql_data: