- setting port 9443 as primary (#5610)

- updated markdown files
- updated dockerfiles
- updated test files
- updated webpack
pull/5617/head
zees-dev 2021-09-14 09:46:59 +12:00 committed by GitHub
parent 1633eceed5
commit c7760b7d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 23 additions and 22 deletions

View File

@ -28,17 +28,15 @@ Briefly describe the problem you are having in a few paragraphs.
**Steps to reproduce the issue:**
1.
2.
3.
1. 2. 3.
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
**Technical details:**
* Portainer version:
* Target Docker version (the host/cluster you manage):
* Platform (windows/linux):
* Command used to start Portainer (`docker run -p 9000:9000 portainer/portainer`):
* Target Swarm version (if applicable):
* Browser:
- Portainer version:
- Target Docker version (the host/cluster you manage):
- Platform (windows/linux):
- Command used to start Portainer (`docker run -p 9443:9443 portainer/portainer`):
- Target Swarm version (if applicable):
- Browser:

View File

@ -4,7 +4,6 @@ about: Create a bug report
title: ''
labels: bug/need-confirmation, kind/bug
assignees: ''
---
<!--
@ -46,7 +45,7 @@ You can see how [here](https://documentation.portainer.io/archive/1.23.2/faq/#ho
- Docker version (managed by Portainer):
- Kubernetes version (managed by Portainer):
- Platform (windows/linux):
- Command used to start Portainer (`docker run -p 9000:9000 portainer/portainer`):
- Command used to start Portainer (`docker run -p 9443:9443 portainer/portainer`):
- Browser:
- Use Case (delete as appropriate): Using Portainer at Home, Using Portainer in a Commerical setup.
- Have you reviewed our technical documentation and knowledge base? Yes/No

View File

@ -91,7 +91,7 @@ Then build and run the project:
$ yarn start
```
Portainer can now be accessed at <http://localhost:9000>.
Portainer can now be accessed at <https://localhost:9443>.
Find more detailed steps at <https://documentation.portainer.io/contributing/instructions/>.

View File

@ -130,8 +130,8 @@
<div class="form-group">
<span class="col-sm-12 text-muted small">
<p>
Allows you to create an environment that can be registered with an Edge agent. The Edge agent will initiate the communications with the Portainer instance. All the
required information on how to connect an Edge agent to this environment will be available after environment creation.
Allows you to create an environment that can be registered with an Edge agent. The Edge agent will initiate the communications with the Portainer instance. All
the required information on how to connect an Edge agent to this environment will be available after environment creation.
</p>
<p> You can read more about the Edge agent in the userguide available <a href="https://downloads.portainer.io/edge_agent_guide.pdf">here.</a> </p>
</span>
@ -309,7 +309,7 @@
class="form-control"
name="endpoint_url"
ng-model="formValues.URL"
placeholder="e.g. 10.0.0.10:9000 or portainer.mydomain.com"
placeholder="e.g. 10.0.0.10:9443 or portainer.mydomain.com"
required
data-cy="endpointCreate-portainerServerUrlInput"
/>

View File

@ -6,6 +6,7 @@ VOLUME /data
WORKDIR /
EXPOSE 9000
EXPOSE 9443
EXPOSE 8000
ENTRYPOINT ["/portainer"]

View File

@ -6,6 +6,7 @@ VOLUME /data
WORKDIR /
EXPOSE 9000
EXPOSE 9443
EXPOSE 8000
ENTRYPOINT ["/portainer"]

View File

@ -2,6 +2,7 @@ FROM ubuntu:20.04
# Expose port for the Portainer UI and Edge server
EXPOSE 9000
EXPOSE 9443
EXPOSE 8000
WORKDIR /src/portainer

View File

@ -19,6 +19,7 @@ USER ContainerAdministrator
COPY dist /
EXPOSE 9000
EXPOSE 9443
EXPOSE 8000
ENTRYPOINT ["/portainer.exe"]

View File

@ -1,6 +1,6 @@
{
"projectId": "cgz5j5",
"baseUrl": "http://localhost:9000",
"baseUrl": "https://localhost:9443",
"video": false,
"experimentalNetworkStubbing": true
}

View File

@ -29,8 +29,8 @@ describe('startContainerController', function () {
Ports: [
{
IP: '0.0.0.0',
PrivatePort: 9000,
PublicPort: 9000,
PrivatePort: 9443,
PublicPort: 9443,
Type: 'tcp',
},
],
@ -46,11 +46,11 @@ describe('startContainerController', function () {
var expectedBody = {
name: 'container-name',
ExposedPorts: {
'9000/tcp': {},
'9443/tcp': {},
},
HostConfig: {
PortBindings: {
'9000/tcp': [
'9443/tcp': [
{
HostPort: '9999',
HostIp: '10.20.10.15',
@ -76,7 +76,7 @@ describe('startContainerController', function () {
{
ip: '10.20.10.15',
extPort: '9999',
intPort: '9000',
intPort: '9443',
},
];

View File

@ -70,7 +70,7 @@ module.exports = {
compress: true,
port: 8999,
proxy: {
'/api': 'http://localhost:9000',
'/api': 'https://localhost:9443',
},
open: true,
writeToDisk: true,