-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (49 loc) · 1019 Bytes
/
docker-compose.yml
File metadata and controls
56 lines (49 loc) · 1019 Bytes
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
# Drupal 8
version: '2'
services:
opigno:
build: .
ports:
- 8080:80
restart: always
db:
image: mysql:5.7
environment:
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
MYSQL_DATABASE: local_drupal
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
restart: on-failure
command: mysqld --max_allowed_packet=64M
volumes_from:
- dbfiles
volumes:
- ./assets/mysql:/etc/mysql/conf.d
- ./logs/mysql:/var/log/mysql/
dbfiles:
image: busybox
volumes:
- /var/lib/mysql
solr:
image: solr:7.7
ports:
- "8983:8983"
environment:
- SOLR_HOME=/mysolrhome
volumes_from:
- solrfiles
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- msconnect
links:
- db
restart: on-failure
labels:
traefik.frontend.rule: "Host:solr.localhost"
traefik.port: "8983"
solrfiles:
image: busybox
volumes:
- ./mysolrhome:/mysolrhome