mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: deploy docker containers (#1939)
This commit is contained in:
parent
68b438ab1a
commit
eee6658cc2
@ -56,20 +56,6 @@ services:
|
|||||||
- plane-api
|
- plane-api
|
||||||
- plane-worker
|
- plane-worker
|
||||||
|
|
||||||
plane-deploy:
|
|
||||||
container_name: planedeploy
|
|
||||||
image: makeplane/plane-space:latest
|
|
||||||
restart: always
|
|
||||||
command: node apps/space/server.js space
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
environment:
|
|
||||||
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL}
|
|
||||||
depends_on:
|
|
||||||
- plane-api
|
|
||||||
- plane-worker
|
|
||||||
- plane-web
|
|
||||||
|
|
||||||
plane-api:
|
plane-api:
|
||||||
container_name: planebackend
|
container_name: planebackend
|
||||||
image: makeplane/plane-backend:latest
|
image: makeplane/plane-backend:latest
|
||||||
|
@ -60,23 +60,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- plane-api
|
- plane-api
|
||||||
- plane-worker
|
- plane-worker
|
||||||
plane-deploy:
|
|
||||||
container_name: planedeploy
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./apps/space/Dockerfile.space
|
|
||||||
args:
|
|
||||||
NEXT_PUBLIC_API_BASE_URL: http://localhost:8000
|
|
||||||
restart: always
|
|
||||||
command: /usr/local/bin/start.sh apps/space/server.js space
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
environment:
|
|
||||||
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL}
|
|
||||||
depends_on:
|
|
||||||
- plane-api
|
|
||||||
- plane-worker
|
|
||||||
- plane-web
|
|
||||||
|
|
||||||
plane-api:
|
plane-api:
|
||||||
container_name: planebackend
|
container_name: planebackend
|
||||||
|
@ -15,10 +15,6 @@ server {
|
|||||||
proxy_pass http://planefrontend:3000/;
|
proxy_pass http://planefrontend:3000/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /spaces/ {
|
|
||||||
proxy_pass http://planedeploy:3000/;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://planebackend:8000/api/;
|
proxy_pass http://planebackend:8000/api/;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user