You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotnet-docs/docker-installation.md
+15-91Lines changed: 15 additions & 91 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,97 +19,23 @@ This article is a step-by-step tutorial on deploying Telerik Report Server for .
19
19
1. Download the archive `Telerik_ReportServer_Net_NonWindows_{Report Server version}.zip` from [your Telerik account](https://www.telerik.com/account/downloads/product-download?product=REPSERVER).
20
20
1. Unzip the archive. The content gets deployed in two folders `ReportServer` and `ReportServiceAgent`.
21
21
1. Open the `Powershell` and navigate to the subfolder `ReportServer`.
22
-
1. Run the command `docker build -t telerik-report-server:local .` in _Powershell_ to build the Report Server Manager image.
22
+
1. Run the command `docker build -t telerik-report-server:local .` in _Powershell_ to build the Report Server Manager image. Mind the dot `.` at the end of the command.
23
23
1. Navigate to the subfolder `ReportServiceAgent`.
24
-
1. Run the command `docker build -t telerik-report-server-agent:local .` in _Powershell_ to build the Report Server ServiceAgent image.
24
+
1. Run the command `docker build -t telerik-report-server-agent:local .` in _Powershell_ to build the Report Server ServiceAgent image. Mind the dot `.` at the end of the command.
25
25
1. Navigate to the subfolder `ReportServer\docker-configs`.
26
-
1. Open the file `docker-compose.yml` in a text editor like _Notepad++_ and edit its content. Delete everything between the lines `services:` and ` storage:`. Before the line ` environments` include the next lines:
27
-
28
-
````yaml
29
-
30
-
ports:
31
-
- "1433:1433"
32
-
````
33
-
34
-
The tabulation is essential and should be preserved. Here is the final content of the `docker-compose.yml` file:
1. Run the command `docker-compose up` in _Powershell_ to execute the above script to create and run the MsSqlServer Docker container we are going to use as Report Server Storage.
58
-
1. Open `MSSQL Management Studio` and _Login_ with the following parameters:
59
-
60
-
* _Server_ : `localhost`
61
-
* _User_ : `sa`
62
-
* _Password_: `place_your_sa_password_here` (this is the argument _SA_PASSWORD_ from the above script file. You may change it as required.)
63
-
64
-
1. Add the database named `reportserver`. After successfully creating the database, you may close the management studio.
65
-
1. Stop the current process in _Powershell_, for example, with the key combination `Ctrl+C`.
66
-
1. Go back to the text editor with the opened file `docker-compose.yml` and restore its original content:
67
-
68
-
````yaml
69
-
services:
70
-
71
-
# template configuration of Report Server.
72
-
# Includes sample config for /app/Data File Storage.
73
-
telerik-report-server:
74
-
env_file:
75
-
- mssql_storage.env
76
-
image: telerik-report-server:local
77
-
restart: always
78
-
ports:
79
-
- "82:80"
80
-
depends_on:
81
-
- storage
82
-
83
-
# template configuration of Report Server Agent.
84
-
# Includes sample config for /app/Data File Storage.
1. Go back to the _Powershell_ environment and execute the above _yaml_ file with the same command `docker-compose up`. This should run the Report Server Manager and ReportServer.ServiceAgent for .NET.
26
+
1. (_optional, recommended_) Change the password `P1@ceStr0ngP@ssw0rdH3r3` for the SA database user with your own strong password in the files `docker-compose.yml` and `mssql_storage.env`:
27
+
28
+
* Open the file `docker-compose.yml` in a text editor like Notepad++ and change the password on line 31. The tabulation is essential and should be preserved:
29
+
30
+
` - SA_PASSWORD=P1@ceStr0ngP@ssw0rdH3r3`
31
+
32
+
* Open the file `mssql_storage.env` in a text editor like Notepad++ and change the password with your own password you used above:
1. Run the command `docker image pull mcr.microsoft.com/mssql/server:2019-latest`.
37
+
1. (_optional, use it only if it was not used before_) Initialize a swarm to make the Docker Engine hosting the RS.NET a manager in the newly created single-node swarm by running the command `docker swarm init`.
38
+
1. Run the command `docker stack deploy -c docker-compose.yml report-server`.
113
39
1. Navigate to `localhost:82` in the browser to open the Report Server Manager for .NET.
114
40
115
41
The first time you open the Report Server you need to configure it as explained in the article [Application Startup]({%slug application-startup%}).
@@ -122,12 +48,10 @@ You may download and watch the whole process from our `reporting-samples` GitHub
122
48
123
49
The above approach for starting the RS.NET from the container will stop it *each* time you restart the machine. To avoid this, execute the following commands in _Powershell_ from the folder _.\ReportServer\docker-configs\_ to start/stop the Report Server instead of using the commands `docker-compose up` and `docker-compose down`:
124
50
125
-
1. (_optional_, use it only if it was not used before) Initialize a swarm to make the Docker Engine hosting the RS.NET a manager in the newly created single-node swarm:`docker swarm init`
126
51
1. Start the RS.NET with `.\start-docker-server.bat`
127
52
1. (_optional_) Stop the RS.NET with `.\stop-docker-server.bat`
128
53
129
54
## See Also
130
55
131
56
*[Telerik Report Server Introduction]({%slug introduction%})
132
57
*[Report Server for .NET Introduction]({%slug coming-soon%})
> The steps in this tutorial are for RS.NET `2024 Q2`. For newer Report Server versions use the Documentation article [Report Server for .NET: Installation on Docker Container]({%slug dotnet-installation-on-docker-container%}).
12
+
13
+
## Description
14
+
15
+
The Report Server for .NET (`RS.NET`) is ready for deployment on Docker Containers. The assets for non-Windows platforms are available as separate resources downloadable from [your Telerik account](https://www.telerik.com/account/downloads/product-download?product=REPSERVER).
16
+
17
+
This article is a step-by-step tutorial on deploying Telerik Report Server for .NET on a Linux Docker Container with a [Microsoft SQL Server (MsSqlServer) Storage]({%slug storage-settings%}#microsoft-sql-server-mssqlserver) deployed on its own Docker Container based on the image `mcr.microsoft.com/mssql/server:2019-latest` exposed publicly on port `1433`.
18
+
19
+
## Installation Process
20
+
21
+
1. Download the archive `Telerik_ReportServer_Net_NonWindows_{Report Server version}.zip` from [your Telerik account](https://www.telerik.com/account/downloads/product-download?product=REPSERVER).
22
+
1. Unzip the archive. The content gets deployed in two folders `ReportServer` and `ReportServiceAgent`.
23
+
1. Open the `Powershell` and navigate to the subfolder `ReportServer`.
24
+
1. Run the command `docker build -t telerik-report-server:local .` in _Powershell_ to build the Report Server Manager image.
25
+
1. Navigate to the subfolder `ReportServiceAgent`.
26
+
1. Run the command `docker build -t telerik-report-server-agent:local .` in _Powershell_ to build the Report Server ServiceAgent image.
27
+
1. Navigate to the subfolder `ReportServer\docker-configs`.
28
+
1. Open the file `docker-compose.yml` in a text editor like _Notepad++_ and edit its content. Delete everything between the lines `services:` and ` storage:`. Before the line ` environments` include the next lines:
29
+
30
+
````yaml
31
+
32
+
ports:
33
+
- "1433:1433"
34
+
````
35
+
36
+
The tabulation is essential and should be preserved. Here is the final content of the `docker-compose.yml` file:
1. Run the command `docker-compose up` in _Powershell_ to execute the above script to create and run the MsSqlServer Docker container we are going to use as Report Server Storage.
60
+
1. Open `MSSQL Management Studio` and _Login_ with the following parameters:
61
+
62
+
* _Server_ : `localhost`
63
+
* _User_ : `sa`
64
+
* _Password_: `place_your_sa_password_here` (this is the argument _SA_PASSWORD_ from the above script file. You may change it as required.)
65
+
66
+
1. Add the database named `reportserver`. After successfully creating the database, you may close the management studio.
67
+
1. Stop the current process in _Powershell_, for example, with the key combination `Ctrl+C`.
68
+
1. Go back to the text editor with the opened file `docker-compose.yml` and restore its original content:
69
+
70
+
````yaml
71
+
services:
72
+
73
+
# template configuration of Report Server.
74
+
# Includes sample config for /app/Data File Storage.
75
+
telerik-report-server:
76
+
env_file:
77
+
- mssql_storage.env
78
+
image: telerik-report-server:local
79
+
restart: always
80
+
ports:
81
+
- "82:80"
82
+
depends_on:
83
+
- storage
84
+
85
+
# template configuration of Report Server Agent.
86
+
# Includes sample config for /app/Data File Storage.
1. Go back to the _Powershell_ environment and execute the above _yaml_ file with the same command `docker-compose up`. This should run the Report Server Manager and ReportServer.ServiceAgent for .NET.
115
+
1. Navigate to `localhost:82` in the browser to open the Report Server Manager for .NET.
116
+
117
+
The first time you open the Report Server you need to configure it as explained in the article [Application Startup]({%slug application-startup%}).
118
+
119
+
## Additional Resources
120
+
121
+
You may download and watch the whole process from our `reporting-samples` GitHub repository: [SetupRS.NET-Docker.zip](https://github.com/telerik/reporting-samples/blob/master/VideosRS/SetupRS.NET-Docker.zip).
122
+
123
+
## Notes
124
+
125
+
The above approach for starting the RS.NET from the container will stop it *each* time you restart the machine. To avoid this, execute the following commands in _Powershell_ from the folder _.\ReportServer\docker-configs\_ to start/stop the Report Server instead of using the commands `docker-compose up` and `docker-compose down`:
126
+
127
+
1. (_optional_, use it only if it was not used before) Initialize a swarm to make the Docker Engine hosting the RS.NET a manager in the newly created single-node swarm:`docker swarm init`
128
+
1. Start the RS.NET with `.\start-docker-server.bat`
129
+
1. (_optional_) Stop the RS.NET with `.\stop-docker-server.bat`
130
+
131
+
## See Also
132
+
133
+
* [Telerik Report Server Introduction]({%slug introduction%})
134
+
* [Report Server for .NET Introduction]({%slug coming-soon%})
135
+
* [Report Server for .NET: Installation on Docker Container]({%slug dotnet-installation-on-docker-container%})
0 commit comments