mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#852: Add content
This commit is contained in:
parent
2c0e36d3f0
commit
2bd36e15a2
@ -7,26 +7,27 @@ The tutorial provides the steps to setup a private docker registry on the server
|
||||
|
||||
To implement this use case, 2 domains will be required:
|
||||
|
||||
- example.com: This domain will allow only image pull operations
|
||||
- admin.example.com: This domain will allow image push/pull operations only to the authenticated users.
|
||||
- **example.com**: This domain will allow only image pull operations
|
||||
- **admin.example.com**: This domain will allow image push/pull operations only to the authenticated users.
|
||||
|
||||
_Note: Please change the domain names to your application-specific domain names._
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. Running docker environment on the server.
|
||||
1. Running docker environment on the linux server.
|
||||
2. 2 domain names is mapped to the same server IP address.
|
||||
3. SSL certificate
|
||||
|
||||
## Generate certificates
|
||||
|
||||
|
||||
```bash
|
||||
# install certbot: https://certbot.eff.org/
|
||||
sudo certbot certonly --standalone --cert-name example.com -d example.com
|
||||
sudo certbot certonly --standalone --cert-name admin.example.com -d admin.example.com
|
||||
```
|
||||
|
||||
_Note: Do check the access right of the files/directories where certificates are stored. Usually, they are at `/etc/letsencrypt/`._
|
||||
|
||||
## Generate password file
|
||||
|
||||
Replace content in `<>` with appropriate content.
|
||||
|
Loading…
Reference in New Issue
Block a user