1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 07:25:24 +02:00

use 3000 port

This commit is contained in:
Ran Shamay 2023-11-16 14:45:07 +02:00
parent e551b9b7ed
commit 6c5619ec9e
6 changed files with 7 additions and 7 deletions

View file

@ -44,6 +44,6 @@ VOLUME /app/public/user-avatars
VOLUME /app/public/project-background-images
VOLUME /app/private/attachments
EXPOSE 1337
EXPOSE 3000
CMD ["./start.sh"]

View file

@ -29,7 +29,7 @@ helm install planka . --set secretkey=$SECRETKEY
To access Planka you can port forward using the following command:
```bash
kubectl port-forward $POD_NAME 3000:1337
kubectl port-forward $POD_NAME 3000:3000
```
### Accessing Externally

View file

@ -45,7 +45,7 @@ securityContext: {}
service:
type: ClusterIP
port: 1337
port: 3000
ingress:
enabled: false
@ -106,6 +106,6 @@ persistence:
enabled: false
# existingClaim: netbox-data
# storageClass: "-"
accessMode: ReadWriteOnce
size: 10Gi

View file

@ -5,7 +5,7 @@ const BASE_PATH = BASE_URL.replace(/^.*\/\/[^/]*(.*)[^?#]*.*$/, '$1');
const 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');

View file

@ -17,7 +17,7 @@ services:
- project-background-images:/app/public/project-background-images
- attachments:/app/private/attachments
ports:
- 3000:1337
- 3000:3000
environment:
- BASE_URL=http://localhost:3000
- TRUST_PROXY=0

View file

@ -1,6 +1,6 @@
## Required
BASE_URL=http://localhost:1337
BASE_URL=http://localhost:3000
DATABASE_URL=postgresql://postgres@localhost/planka
SECRET_KEY=notsecretkey