-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 959 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
44
45
version: "3.1"
services:
db:
container_name: demo2_db
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=1234
- MYSQL_DATABASE=t3kit
- MYSQL_USER=t3kit
- MYSQL_PASSWORD=t3kit1234
restart: always
ports:
- "3307:3306"
web:
container_name: demo2_web
image: t3kit/ubuntu16-php7-apache:0.0.1
ports:
- "8888:80"
depends_on:
- db
- t3kit_solr
volumes:
- ./docker_conf:/docker_conf
- ./vendor/t3kit/db:/t3kit_db
- .:/var/www/html
restart: always
command: "sh /docker_conf/run.sh"
environment:
- USERID=1001
- GROUPID=1001
t3kit_solr:
container_name: demo2_t3kit_solr
image: typo3solr/ext-solr:6.0.0
ports:
- "8983:8983"
volumes:
- ./solrdata:/opt/solr/server/solr/data/
restart: always
mailhog:
container_name: demo2_t3kit_mailhog
image: mailhog/mailhog
ports:
- "8025:8025"