forked from ilios/ilios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
82 lines (81 loc) · 2.31 KB
/
docker-compose.override.yml
File metadata and controls
82 lines (81 loc) · 2.31 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
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
version: '3.8'
services:
db:
build:
context: .
target: mysql-demo
ports:
- "13306:3306"
nginx:
build:
context: .
target: nginx
ports:
- "8000:80"
volumes:
# The "cached" option has no effect on Linux but improves performance on Mac
- ./:/srv/app:rw,cached
depends_on:
- php
php:
build:
context: .
target: fpm-dev
environment:
- ILIOS_DATABASE_URL=mysql://ilios:ilios@db/ilios?serverVersion=8.0
- ILIOS_REQUIRE_SECURE_CONNECTION=false
- ILIOS_ERROR_CAPTURE_ENABLED=false
- ILIOS_SEARCH_HOSTS=opensearch:9200
- ILIOS_REDIS_URL=redis://redis
- ILIOS_FEATURE_DTO_CACHING=false
- ILIOS_FILE_SYSTEM_STORAGE_PATH=/ilios-storage
volumes:
# The "cached" option has no effect on Linux but improves performance on Mac
- ./:/srv/app:rw,cached
# Remove the var/ directory from the bind-mount for better performance
- /srv/app/var
# Share the frontend files
- ./var/frontend:/srv/app/var/frontend:rw,cached
# Share storage between containers and make writes to the container authoritative with "delegated"
- shared-storage:/ilios-storage:delegated
depends_on:
- db
- redis
messages:
build:
context: .
target: consume-messages-dev
environment:
- ILIOS_DATABASE_URL=mysql://ilios:ilios@db/ilios?serverVersion=8.0
- ILIOS_ERROR_CAPTURE_ENABLED=false
- ILIOS_SEARCH_HOSTS=opensearch:9200
- ILIOS_REDIS_URL=redis://redis
- ILIOS_FILE_SYSTEM_STORAGE_PATH=/ilios-storage
depends_on:
- db
- opensearch
- redis
volumes:
# The "cached" option has no effect on Linux but improves performance on Mac
- ./:/srv/app:rw,cached
# Remove the var/ directory from the bind-mount for better performance
- /srv/app/var
# Share storage between containers and make writes to the container authoritative with "delegated"
- shared-storage:/ilios-storage:delegated
opensearch:
build:
context: .
target: opensearch
environment:
- DISABLE_SECURITY_PLUGIN=true
- discovery.type=single-node
ports:
- "9200:9200"
redis:
build:
context: .
target: redis
ports:
- "6379:6379"
volumes:
shared-storage: