Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phillmac/compose-example-orbit-db-http-api

An example docker compose project for the orbit-db-http-api using certbot, nginx, and go-ipfs
https://github.com/phillmac/compose-example-orbit-db-http-api

Last synced: about 1 hour ago
JSON representation

An example docker compose project for the orbit-db-http-api using certbot, nginx, and go-ipfs

Awesome Lists containing this project

README

        

# compose-example-orbit-db-http-api
An example docker compose project for the orbit-db-http-api using certbot, nginx, and go-ipfs

### **NOTE** ###

**Replace** `domain.io` **with your real domain in:**
- **config/domains/list.txt**
- **config/reverse-proxy/conf.d.available/api.ipfs.domain.io.conf**
- **config/reverse-proxy/conf.d.available/gw.ipfs.domain.io.conf**
- **config/reverse-proxy/conf.d.available/api.orbitdb.domain.io.conf**

**Rename all the** `config/reverse-proxy/conf.d.available/*.conf` **files to match the new domain name**

**Edit the** `NOTIFY_EMAIL` **env var in** `docker-compose.yml`

### How To Run ###

```
docker-compose up -d
docker-compose exec certbot sh run.sh
docker-compose restart reverse-proxy
```

### Disabling proxy for specific domain ###

- To disable the nginx reverse-proxy for a specific domain, remove its entry from `config/domains/list.txt`
- Run `docker-compose restart reverse-proxy`