-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
154 lines (144 loc) · 3.79 KB
/
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
volumes:
es_data:
driver: local
postgres_data:
driver: local
woo_composer:
external: true
woo_npm:
external: true
networks:
woopie:
driver: bridge
services:
app:
image: ghcr.io/minvws/nl-rdo-woo-web-private/php:0.3.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
labels:
com.symfony.server.service-ignore: true
ports:
- target: 80
published: 8000
volumes:
- ./:/var/www/html
- ./docker/app/php.ini:/usr/local/etc/php/custom.d/php.ini
- ./auth.json:/home/woopie/.composer/auth.json:ro
- woo_composer:/home/woopie/.composer
- woo_npm:/home/woopie/.npm
- ./docker/app/balie-woopie.conf:/etc/apache2/sites-available/balie-woopie.conf
- ./docker/app/open-woopie.conf:/etc/apache2/sites-available/open-woopie.conf
- ./docker/app/woopie.conf:/etc/apache2/sites-available/woopie.conf
networks:
woopie:
aliases:
- app.local
- open.local
- balie.local
environment:
PHP_INI_SCAN_DIR: "/usr/local/etc/php/custom.d:/usr/local/etc/php/conf.d"
worker:
depends_on:
- rabbitmq
image: ghcr.io/minvws/nl-rdo-woo-web-private/php:0.3.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
labels:
com.symfony.server.service-ignore: true
volumes:
- ./:/var/www/html
- ./docker/app/php.ini:/usr/local/etc/php/custom.d/php.ini
networks:
- woopie
environment:
PHP_INI_SCAN_DIR: "/usr/local/etc/php/custom.d:/usr/local/etc/php/conf.d"
stop_signal: SIGINT
restart: unless-stopped
command:
[
"bash",
"-c",
"wait-for-it rabbitmq:5672 --timeout=0 --strict -- symfony run --watch=config,src,templates,vendor php -d memory_limit=-1 bin/console messenger:consume --memory-limit=1G -vv high esupdater ingestor global",
]
tika:
image: apache/tika:latest
platform: linux/amd64
labels:
com.symfony.server.service-ignore: true
ports:
- target: 9998
published: 9998
networks:
- woopie
elasticsearch:
image: elasticsearch:7.17.26
labels:
com.symfony.server.service-ignore: true
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.enabled=false
- http.cors.enabled=true
- http.cors.allow-origin=/https:\/\/app.elasticvue.com/
# - http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization
volumes:
- es_data:/usr/share/elasticsearch/data
ports:
- target: 9200
published: 9200
networks:
- woopie
redis:
image: redis:5
labels:
com.symfony.server.service-ignore: true
ports:
- target: 6379
published: 6379
networks:
- woopie
rabbitmq:
image: rabbitmq:3-management
labels:
com.symfony.server.service-ignore: true
ports:
- target: 5672
published: 5672
- target: 15672
published: 15672
networks:
- woopie
postgres:
image: postgres:14.10-bookworm
labels:
com.symfony.server.service-ignore: true
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- target: 5432
published: 5432
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- woopie
command: ["postgres", "-c", "log_statement=all"]
clamav:
build:
context: .
dockerfile: docker/clamav/Dockerfile
labels:
com.symfony.server.service-ignore: true
ports:
- target: 3310
published: 3310
networks:
- woopie
sphinx:
profiles: [build-only]
build:
context: .
dockerfile: docker/sphinx/Dockerfile
labels:
com.symfony.server.service-ignore: true
volumes:
- ./docs:/docs