-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·53 lines (52 loc) · 1.5 KB
/
docker-compose.yml
File metadata and controls
executable file
·53 lines (52 loc) · 1.5 KB
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
version: "3"
services:
php_server:
build: ./
depends_on:
- blat_server
- mariadb_server
- termlookup_server
ports:
- 80:80
volumes:
- ./:/var/www
restart: always
blat_server:
build: ./go/blatserver
volumes:
- ./go/blatserver/assets:/assets
restart: always
mariadb_server:
command:
--group_concat_max_len=1024M
--max_allowed_packet=1024M
--plugin-load-add=server_audit.so
--server_audit_file_path=/tmp
--server_audit_events=query_dml_no_select
--server_audit_file_rotate_now=1
--server_audit_file_rotate_size=1000000000
--innodb_buffer_pool_size=100M
--net_read_timeout=3600
--net_write_timeout=3600
--connect_timeout=3600
--interactive_timeout=86400
--wait_timeout=86400
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- TZ=America/New_York
image: mariadb:10.5
ports:
- 3306:3306
volumes:
- ./mysql:/var/lib/mysql
- ./db/dumps:/docker-entrypoint-initdb.d
- ./logs:/tmp
restart: always
termlookup_server:
build: ./go/termlookupserver
volumes:
- ./go/termlookupserver/assets:/go/src/assets
restart: always