mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
45a52116a7
* refactor: move issue activity tracking from django channels to rqworker * refactor: update old value and new value from character type to text type
74 lines
1.3 KiB
YAML
74 lines
1.3 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
db:
|
|
image: postgres:12-alpine
|
|
restart: always
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: plane
|
|
POSTGRES_DB: plane
|
|
POSTGRES_PASSWORD: plane
|
|
command: postgres -c 'max_connections=1000'
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
redis:
|
|
image: redis:6.2.7-alpine
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redisdata:/data
|
|
|
|
plane-web:
|
|
image: plane-web
|
|
container_name: plane-frontend
|
|
build:
|
|
context: .
|
|
dockerfile: ./apps/app/Dockerfile.web
|
|
restart: always
|
|
env_file:
|
|
- ./apps/app/.env
|
|
ports:
|
|
- 3000:3000
|
|
|
|
plane-api:
|
|
image: plane-api
|
|
container_name: plane-backend
|
|
build:
|
|
context: ./apiserver
|
|
dockerfile: Dockerfile.api
|
|
restart: always
|
|
ports:
|
|
- 8000:8000
|
|
env_file:
|
|
- ./apiserver/.env
|
|
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
command: ./bin/takeoff
|
|
links:
|
|
- db:db
|
|
- redis:redis
|
|
|
|
plane-worker:
|
|
image: plane-api
|
|
container_name: plane-rqworker
|
|
depends_on:
|
|
- redis
|
|
- db
|
|
- plane-api
|
|
command: ./bin/worker
|
|
links:
|
|
- redis:redis
|
|
- db:db
|
|
env_file:
|
|
- ./apiserver/.env
|
|
|
|
volumes:
|
|
pgdata:
|
|
redisdata:
|