-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
56 lines (51 loc) · 1.27 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
version: '3'
volumes:
mysqldata:
driver: local
symfonycache:
sessiecache:
services:
stek:
build:
context: .
dockerfile: 'docker/Dockerfile-stek'
image: csrdelft/stek
ports:
- '8080:80' # Expose stek op poort 8080
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal remote_port=9000 remote_enable=1
volumes:
- ./:/app
- ./docker/dev/.env.local:/app/.env.local
- ./vendor:/app/vendor
- symfonycache:/app/var
- sessiecache:/app/sessie
composer:
build:
context: .
dockerfile: 'docker/Dockerfile-composer'
image: csrdelft/composer
command: install --ignore-platform-reqs # Doe initieel een install
volumes:
- ./:/app
- ./docker/dev/.env.local:/app/.env.local
- ./vendor:/app/vendor
stekdb:
image: mariadb:10.3
environment:
MYSQL_ROOT_PASSWORD: bl44t
MYSQL_USER: csrdelft
MYSQL_PASSWORD: bl44t
MYSQL_DATABASE: csrdelft
volumes:
- mysqldata:/var/lib/mysql/
- ./data:/docker-entrypoint-initdb.d # laad sql bestanden
ports:
- '3307:3306' # Expose mysql op poort 3307
yarn:
build:
context: .
dockerfile: 'docker/Dockerfile-yarn'
image: csrdelft/yarn
volumes:
- ./:/app