summaryrefslogtreecommitdiff
path: root/topics/systems/gn-services.gmi
blob: 8321356a77d227c510bbbcc55d6a3939a5319366 (plain)
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
# GN Services

## Tags

* type: documentation
* status: in progress
* keywords: gn services, documentation

## Description

In addition to gn1 and gn2 we have 3 running gn3 services:

1. gn-proxy - deployed as gn3 user in production

```
curl localhost:8080/version
{"version":"0.2.1"}
```

2. gn3 aliases

```
curl http://localhost:8000/gene/aliases/BRCA2
["FACD","FAD","FANCD","BROVCA2","FAD1","FANCD1","BRCC2","GLM3","PNCA2","XRCC11"]
curl https://luna.genenetwork.org/gn3/
[ "Hello GeneNetwork3!"  ]
```

3. genenetwork3 (python3)

If the menu does not load, this is the culprit. It should be an external API link.

```
curl localhost:8087/api/version
"1.0"
curl localhost:8087/api/menu/generate/json
...
curl https://genenetwork.org/api3/api/version
"1.0"
curl https://genenetwork.org/api3/api/menu/generate/json
```

On epysode:

```
http://mars.genenetwork.org/gn3/api/version
http://gn2-fallback.genenetwork.org/gn3/api/menu/generate/json
```

## Notes

We track services now on

=> https://rabbit.genenetwork.org/sheepdog/index.html

## System container

```
systemctl stop genenetwork-development-container
mv /var/guix-containers /export2
systemctl start genenetwork-development-container
```

The commit that changes the mounts is at

=> https://github.com/genenetwork/genenetwork-machines/commit/8ce668562b0443ed7eb5b22225692f6f4383ea89

## See also

=> orchestration.gmi