~dricottone/container-images

ref: 42b7156724b85db142513ae658a6584349aac0f6 container-images/srht-todo-api/README.md -rw-r--r-- 610 bytes
42b71567Dominic Ricottone Fixed uwsgi a day ago
                                                                                
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
# srht-todo-api


## Build and Deploy

```
make image
```


### Tags

 + `latest`

----

## Use

Deploy the API server for a sr.ht system's issue tracker service.

Used by proxying from `nginx(8)`.
The below location should be added to the server configuration for
`todo.example.com`.

```
location /query {
    proxy_pass http://localhost:5103;
}
```

The container needs to be reachable from `nginx(8)` on port 5103.
Consider either using a pod or creating a bridge network.

```
$conman run --detach --name srht-todo-api --restart always \
    registry.intra.dominic-ricottone.com/srht-todo-api:latest
```