diff --git a/Dockerfile b/Dockerfile index b8adecb7..8080b1f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,6 @@ VOLUME /app/public/user-avatars VOLUME /app/public/project-background-images VOLUME /app/private/attachments -EXPOSE 3000 +EXPOSE 1337 CMD ["./start.sh"] diff --git a/charts/planka/values.yaml b/charts/planka/values.yaml index 7c657961..ca27810c 100644 --- a/charts/planka/values.yaml +++ b/charts/planka/values.yaml @@ -45,7 +45,7 @@ securityContext: {} service: type: ClusterIP - port: 3000 + port: 1337 ingress: enabled: false diff --git a/client/public/index.html b/client/public/index.html index 7e86cd07..c0c1a6a8 100755 --- a/client/public/index.html +++ b/client/public/index.html @@ -1,4 +1,3 @@ - diff --git a/client/src/constants/Config.js b/client/src/constants/Config.js index 4bc04938..50128e09 100755 --- a/client/src/constants/Config.js +++ b/client/src/constants/Config.js @@ -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:3000'); + (process.env.NODE_ENV === 'production' ? BASE_URL : 'http://localhost:1337'); const SERVER_HOST_NAME = SERVER_BASE_URL.replace(/^(.*\/\/[^/?#]*).*$/, '$1'); diff --git a/docker-compose.yml b/docker-compose.yml index cf1be0b1..297126a5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: planka: - image: ghcr.io/plankanban/planka:latest + build: . command: > bash -c "for i in `seq 1 30`; do @@ -17,7 +17,7 @@ services: - project-background-images:/app/public/project-background-images - attachments:/app/private/attachments ports: - - 3000:3000 + - 3000:1337 environment: - BASE_URL=http://localhost:3000 - TRUST_PROXY=0 @@ -41,7 +41,7 @@ services: - postgres postgres: - image: postgres:14-alpine + image: postgres:16-alpine restart: unless-stopped volumes: - db-data:/var/lib/postgresql/data diff --git a/server/.env.sample b/server/.env.sample index c4d1e78b..36de1985 100644 --- a/server/.env.sample +++ b/server/.env.sample @@ -1,6 +1,6 @@ ## Required -BASE_URL=http://localhost:3000 +BASE_URL=http://localhost:1337 DATABASE_URL=postgresql://postgres@localhost/planka SECRET_KEY=notsecretkey diff --git a/server/config/misc.js b/server/config/misc.js new file mode 100644 index 00000000..6ea8c9d6 --- /dev/null +++ b/server/config/misc.js @@ -0,0 +1,3 @@ +// module.exports = { +// port: 3000, +// };