@ -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"]
@ -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
@ -45,7 +45,7 @@ securityContext: {}
service:
type: ClusterIP
port: 1337
port: 3000
ingress:
enabled: false
@ -106,6 +106,6 @@ persistence:
# existingClaim: netbox-data
# storageClass: "-"
accessMode: ReadWriteOnce
size: 10Gi
@ -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');
@ -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
@ -1,6 +1,6 @@
## Required
BASE_URL=http://localhost:1337
BASE_URL=http://localhost:3000
DATABASE_URL=postgresql://postgres@localhost/planka
SECRET_KEY=notsecretkey