-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
42 lines (42 loc) · 1.2 KB
/
docker-compose.dev.yml
File metadata and controls
42 lines (42 loc) · 1.2 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
services:
database:
image: mysql:5.7.27
platform: linux/amd64
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
env_file: ./env/.env.mysql
volumes:
- mysql_data:/var/lib/mysql
- ./mysql-files/setup.sql:/docker-entrypoint-initdb.d/setup.sql
- ./serverConfiguration/deploy/my.cnf:/etc/mysql/my.cnf
ports:
- "3306:3306"
tika:
image: logicalspark/docker-tikaserver
container_name: tika_service
platform: linux/amd64
ports:
- "9998:9998"
app:
build:
context: ./
dockerfile: Dockerfile.dev
container_name: ccdt_php
volumes:
- ./data/flatfiles:/var/www/storage/app/flatfiles
- ./data/exports:/var/www/storage/exports
- ./data/logs:/var/www/storage/logs
- ./data/vendor:/var/www/vendor
- ./env:/env
- ./scripts:/var/www/scripts
- ./src/project-css:/var/www
# don't mount these folders
- '/var/www/storage/framework/cache'
- '/var/www/storage/framework/sessions'
- '/var/www/storage/framework/views'
ports:
- "9000:9000"
links:
- database
- tika
volumes:
mysql_data: