mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 07:25:24 +02:00
cleanup
This commit is contained in:
parent
cc59687b71
commit
e2cc71efa9
7 changed files with 10 additions and 8 deletions
|
@ -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"]
|
||||
|
|
|
@ -45,7 +45,7 @@ securityContext: {}
|
|||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 3000
|
||||
port: 1337
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Required
|
||||
|
||||
BASE_URL=http://localhost:3000
|
||||
BASE_URL=http://localhost:1337
|
||||
DATABASE_URL=postgresql://postgres@localhost/planka
|
||||
SECRET_KEY=notsecretkey
|
||||
|
||||
|
|
3
server/config/misc.js
Normal file
3
server/config/misc.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
// module.exports = {
|
||||
// port: 3000,
|
||||
// };
|
Loading…
Add table
Add a link
Reference in a new issue