Merge pull request #1940 from makeplane/develop

dev: deploy docker containers (#1939)
This commit is contained in:
Nikhil 2023-08-22 19:34:13 +05:30 committed by GitHub
commit e833fccf61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 35 deletions

View File

@ -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

View File

@ -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

View File

@ -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/;
} }