-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (86 loc) · 1.82 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
version: "3.8"
services:
openconext:
build:
context: 'docker/'
dockerfile: Dockerfiledev
target: openconext
extra_hosts:
engine-api.vm.openconext.org: 127.0.0.2
engine.vm.openconext.org: 127.0.0.1
manage.vm.openconext.org: 127.0.0.1
privileged: true
networks:
profile:
aliases:
- db.vm.openconext.org
- manage.vm.openconext.org
- profile.vm.openconext.org
- engine-api.vm.openconext.org
- engine.vm.openconext.org
- mujina-idp.vm.openconext.org
volumes:
- profile_mysql:/var/lib/mysql
- profile_mongo:/var/lib/mongo
ports:
- "443:443"
expose:
- 3306
php-fpm:
build:
context: 'docker/'
dockerfile: Dockerfiledev
target: profilephpfpm
volumes:
- .:/var/www/html/
- type: bind
source: /dev/log
target: /dev/log
environment:
- PHPFPM_PORT=9000
networks:
profile:
aliases:
- profile_php-fpm
web:
build:
context: 'docker/'
dockerfile: Dockerfiledev
target: profilehttpd
depends_on:
- php-fpm
volumes:
- .:/var/www/html/
ports:
- "8080:80"
networks:
profile:
aliases:
- profile_web
cypress:
image: "cypress/included:8.4.0"
depends_on:
- openconext
environment:
- CYPRESS_baseUrl=https://profile.vm.openconext.org
working_dir: /var/www/html/
entrypoint: cypress open --project .
volumes:
- .:/var/www/html/
networks:
profile:
mailcatcher:
image: dockage/mailcatcher:0.7.1
ports:
- "1080:1080"
- "1025:1025"
networks:
profile:
aliases:
- profile_mailcatcher
networks:
profile:
volumes:
profile_mysql:
profile_mongo: