refactor: update paths and structure for server services in Docker and documentation (#7333)
- Changed references from 'apiserver' to 'apps/server' in Docker configurations and environment setup. - Updated contributing documentation to reflect the new service structure. - Adjusted setup script to accommodate the new directory layout. - Removed obsolete files related to the previous structure.
This commit is contained in:
parent
1de95ef0d0
commit
805cfed1a3
11 changed files with 105 additions and 94 deletions
|
|
@ -122,7 +122,7 @@ services:
|
|||
|
||||
api:
|
||||
build:
|
||||
context: ./apiserver
|
||||
context: ./apps/server
|
||||
dockerfile: Dockerfile.dev
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
|
@ -130,10 +130,10 @@ services:
|
|||
networks:
|
||||
- dev_env
|
||||
volumes:
|
||||
- ./apiserver:/code
|
||||
- ./apps/server:/code
|
||||
command: ./bin/docker-entrypoint-api-local.sh
|
||||
env_file:
|
||||
- ./apiserver/.env
|
||||
- ./apps/server/.env
|
||||
depends_on:
|
||||
- plane-db
|
||||
- plane-redis
|
||||
|
|
@ -143,7 +143,7 @@ services:
|
|||
|
||||
worker:
|
||||
build:
|
||||
context: ./apiserver
|
||||
context: ./apps/server
|
||||
dockerfile: Dockerfile.dev
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
|
@ -151,10 +151,10 @@ services:
|
|||
networks:
|
||||
- dev_env
|
||||
volumes:
|
||||
- ./apiserver:/code
|
||||
- ./apps/server:/code
|
||||
command: ./bin/docker-entrypoint-worker.sh
|
||||
env_file:
|
||||
- ./apiserver/.env
|
||||
- ./apps/server/.env
|
||||
depends_on:
|
||||
- api
|
||||
- plane-db
|
||||
|
|
@ -162,7 +162,7 @@ services:
|
|||
|
||||
beat-worker:
|
||||
build:
|
||||
context: ./apiserver
|
||||
context: ./apps/server
|
||||
dockerfile: Dockerfile.dev
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
|
@ -170,10 +170,10 @@ services:
|
|||
networks:
|
||||
- dev_env
|
||||
volumes:
|
||||
- ./apiserver:/code
|
||||
- ./apps/server:/code
|
||||
command: ./bin/docker-entrypoint-beat.sh
|
||||
env_file:
|
||||
- ./apiserver/.env
|
||||
- ./apps/server/.env
|
||||
depends_on:
|
||||
- api
|
||||
- plane-db
|
||||
|
|
@ -181,7 +181,7 @@ services:
|
|||
|
||||
migrator:
|
||||
build:
|
||||
context: ./apiserver
|
||||
context: ./apps/server
|
||||
dockerfile: Dockerfile.dev
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
|
@ -189,10 +189,10 @@ services:
|
|||
networks:
|
||||
- dev_env
|
||||
volumes:
|
||||
- ./apiserver:/code
|
||||
- ./apps/server:/code
|
||||
command: ./bin/docker-entrypoint-migrator.sh --settings=plane.settings.local
|
||||
env_file:
|
||||
- ./apiserver/.env
|
||||
- .env
|
||||
depends_on:
|
||||
- plane-db
|
||||
- plane-redis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue