-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (64 loc) · 1.31 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (64 loc) · 1.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
networks:
arifos_core_network:
external: true
services:
geox:
build:
context: .
dockerfile: Dockerfile
container_name: geox_eic
env_file:
- .env
environment:
- GEOX_MODE=research
- GEOX_VERSION=v2.0.0-UNIFIED
- F13_HUMAN_VETO=required
- PYTHONUNBUFFERED=1
- GEOX_HOST=0.0.0.0
- GEOX_PORT=8081
healthcheck:
interval: 30s
retries: 3
start_period: 40s
test:
- CMD
- python3
- -c
- |
import urllib.request, json;
r = urllib.request.urlopen('http://localhost:8081/health');
d = json.loads(r.read().decode());
assert d.get('status') == 'healthy', f"Health failed: {d}"
timeout: 10s
networks:
- arifos_core_network
ports:
- 127.0.0.1:8081:8081
restart: unless-stopped
ulimits:
nofile:
soft: 65536
hard: 65536
nproc:
soft: 65535
hard: 65535
volumes:
- ./data:/data:rw
- ./fixtures:/app/fixtures:ro
- vault_999:/app/999_vault
gui:
container_name: geox_gui
depends_on:
- geox
expose:
- '80'
build:
context: ./geox-gui
dockerfile: Dockerfile
image: geox-gui:latest
networks:
- arifos_core_network
restart: unless-stopped
volumes:
vault_999:
driver: local