Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/phillmac/compose-example-orbit-db-http-api
- Owner: phillmac
- License: mit
- Created: 2020-06-02T00:57:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T23:55:09.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T12:17:11.575Z (2 months ago)
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`