mirror of
https://github.com/plankanban/planka.git
synced 2025-08-10 07:55:27 +02:00
use 3000 port
This commit is contained in:
parent
e551b9b7ed
commit
6c5619ec9e
6 changed files with 7 additions and 7 deletions
|
@ -44,6 +44,6 @@ VOLUME /app/public/user-avatars
|
||||||
VOLUME /app/public/project-background-images
|
VOLUME /app/public/project-background-images
|
||||||
VOLUME /app/private/attachments
|
VOLUME /app/private/attachments
|
||||||
|
|
||||||
EXPOSE 1337
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["./start.sh"]
|
CMD ["./start.sh"]
|
||||||
|
|
|
@ -29,7 +29,7 @@ helm install planka . --set secretkey=$SECRETKEY
|
||||||
To access Planka you can port forward using the following command:
|
To access Planka you can port forward using the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl port-forward $POD_NAME 3000:1337
|
kubectl port-forward $POD_NAME 3000:3000
|
||||||
```
|
```
|
||||||
|
|
||||||
### Accessing Externally
|
### Accessing Externally
|
||||||
|
|
|
@ -45,7 +45,7 @@ securityContext: {}
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 1337
|
port: 3000
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -106,6 +106,6 @@ persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# existingClaim: netbox-data
|
# existingClaim: netbox-data
|
||||||
# storageClass: "-"
|
# storageClass: "-"
|
||||||
|
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
|
@ -5,7 +5,7 @@ const BASE_PATH = BASE_URL.replace(/^.*\/\/[^/]*(.*)[^?#]*.*$/, '$1');
|
||||||
|
|
||||||
const SERVER_BASE_URL =
|
const SERVER_BASE_URL =
|
||||||
process.env.REACT_APP_SERVER_BASE_URL ||
|
process.env.REACT_APP_SERVER_BASE_URL ||
|
||||||
(process.env.NODE_ENV === 'production' ? BASE_URL : 'http://localhost:1337');
|
(process.env.NODE_ENV === 'production' ? BASE_URL : 'http://localhost:3000');
|
||||||
|
|
||||||
const SERVER_HOST_NAME = SERVER_BASE_URL.replace(/^(.*\/\/[^/?#]*).*$/, '$1');
|
const SERVER_HOST_NAME = SERVER_BASE_URL.replace(/^(.*\/\/[^/?#]*).*$/, '$1');
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- project-background-images:/app/public/project-background-images
|
- project-background-images:/app/public/project-background-images
|
||||||
- attachments:/app/private/attachments
|
- attachments:/app/private/attachments
|
||||||
ports:
|
ports:
|
||||||
- 3000:1337
|
- 3000:3000
|
||||||
environment:
|
environment:
|
||||||
- BASE_URL=http://localhost:3000
|
- BASE_URL=http://localhost:3000
|
||||||
- TRUST_PROXY=0
|
- TRUST_PROXY=0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## Required
|
## Required
|
||||||
|
|
||||||
BASE_URL=http://localhost:1337
|
BASE_URL=http://localhost:3000
|
||||||
DATABASE_URL=postgresql://postgres@localhost/planka
|
DATABASE_URL=postgresql://postgres@localhost/planka
|
||||||
SECRET_KEY=notsecretkey
|
SECRET_KEY=notsecretkey
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue