-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (46 loc) · 958 Bytes
/
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
version: "3"
services:
storybook:
container_name: s-forms-geo-components
ports:
- "6006:6006"
build: .
networks:
- solr
solr:
container_name: ruian-solr
image: "ghcr.io/vojtechlunak/ruian-search/ruian-solr:latest"
ports:
- 8983:8983
volumes:
- data:/var/solr
networks:
- solr
healthcheck:
test: wget --spider -q http://localhost:8983 || exit 1
interval: 20s
timeout: 10s
spring-boot:
container_name: backend
hostname: spring-boot
image: "ghcr.io/vojtechlunak/ruian-search/ruian-search:latest"
environment:
RUIAN_SOLR_URL: http://solr:8983/solr
ports:
- 8080:8080
networks:
- solr
- proxy
depends_on:
- solr
healthcheck:
test: wget --spider -q http://localhost:8080 || exit 1
interval: 20s
timeout: 10s
volumes:
data:
networks:
solr:
driver: bridge
proxy:
driver: bridge