1
0
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:
Akshay 2022-01-10 08:38:02 +01:00
parent 2bd36e15a2
commit dddfe6cf70

View File

@ -7,16 +7,16 @@ The tutorial provides the steps to setup a private docker registry on the server
To implement this use case, 2 domains will be required: To implement this use case, 2 domains will be required:
- **example.com**: This domain will allow only image pull operations - **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. - **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._ _Note: Please change the domain names to your application-specific domain names._
## Prerequisites ## Prerequisites
1. Running docker environment on the linux server. - Running docker environment on the linux server.
2. 2 domain names is mapped to the same server IP address. - Docker compose is installed.
3. SSL certificate - 2 domain names is mapped to the same server IP address.
## Generate certificates ## Generate certificates
@ -90,6 +90,8 @@ services:
## Nginx configuration ## Nginx configuration
Copy the below nginx configuration to a `nginx.conf` file.
```conf ```conf
events {} events {}
http { http {