-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
74 lines (69 loc) · 2.12 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
services:
database:
image: "postgres:16"
env_file:
- .env.docker
networks:
- legisdata
frontend:
build:
context: .
dockerfile: podman/frontend/Dockerfile
name: legisdata_frontend
no_cache: true
pull: true
ports:
- 0.0.0.0:8080:8080
env_file:
- .env.docker
networks:
- legisdata
backend:
build:
context: .
dockerfile: podman/backend/Dockerfile
name: legisdata_backend
no_cache: true
pull: true
volumes:
- ./certificates/root/root-ca.pem:/app/root-ca.pem
- ./certificates/admin/admin.pem:/app/admin.pem
- ./certificates/admin/admin-key.pem:/app/admin-key.pem
- ./certificates/node/node.pem:/app/node.pem
- ./certificates/node/node-key.pem:/app/node-key.pem
env_file:
- .env.docker
networks:
- legisdata
search-node:
image: opensearchproject/opensearch:latest
env_file:
- .env.docker
environment:
- node.name=search-node
ulimits:
memlock:
soft: -1 # Set memlock to unlimited (no soft or hard limit)
hard: -1
nofile:
soft: 65536 # Maximum number of open files for the opensearch user - set to at least 65536
hard: 65536
volumes:
- search-data:/usr/share/opensearch/data
- ./podman/opensearch/usr/share/opensearch/config/opensearch-dev.yml:/usr/share/opensearch/config/opensearch.yml
- ./podman/opensearch/usr/share/opensearch/config/opensearch-security/internal_users.yml:/usr/share/opensearch/config/opensearch-security/internal_users.yml
- ./certificates/root/root-ca.pem:/usr/share/opensearch/config/root-ca.pem
- ./certificates/admin/admin.pem:/usr/share/opensearch/config/admin.pem
- ./certificates/admin/admin-key.pem:/usr/share/opensearch/config/admin-key.pem
- ./certificates/node/node.pem:/usr/share/opensearch/config/node.pem
- ./certificates/node/node-key.pem:/usr/share/opensearch/config/node-key.pem
ports:
- 9200:9200
- 9600:9600
networks:
- legisdata
volumes:
search-data:
networks:
legisdata:
name: legisdata