Files
flook-stacks/stacks/plane/docker-compose.yml

117 lines
3.2 KiB
YAML

networks:
plane-net:
name: plane-net
driver: bridge
services:
plane-web:
image: makeplane/plane-frontend:stable
container_name: plane-web
restart: unless-stopped
ports:
- "8082:3000"
environment:
- NEXT_PUBLIC_API_BASE_URL=https://plane.rishighan.com/api
- NEXT_PUBLIC_DEPLOY_URL=https://plane.rishighan.com
depends_on:
- plane-api
networks:
- plane-net
plane-api:
image: makeplane/plane-backend:stable
container_name: plane-api
restart: unless-stopped
command: /code/bin/docker-entrypoint-api.sh
ports:
- "8085:8000"
environment:
- DEBUG=0
- DJANGO_SETTINGS_MODULE=plane.settings.production
- DATABASE_URL=postgresql://plane:plane@plane-db:5432/plane
- REDIS_URL=redis://plane-redis:6379/
- SECRET_KEY=${SECRET_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_S3_BUCKET_NAME=plane-uploads
- AWS_S3_ENDPOINT_URL=http://plane-minio:9000
- USE_MINIO=1
- WEB_URL=https://plane.rishighan.com
- CORS_ALLOWED_ORIGINS=https://plane.rishighan.com
depends_on:
- plane-db
- plane-redis
networks:
- plane-net
plane-worker:
image: makeplane/plane-backend:stable
container_name: plane-worker
restart: unless-stopped
command: /code/bin/docker-entrypoint-worker.sh
environment:
- DEBUG=0
- DJANGO_SETTINGS_MODULE=plane.settings.production
- DATABASE_URL=postgresql://plane:plane@plane-db:5432/plane
- REDIS_URL=redis://plane-redis:6379/
- SECRET_KEY=${SECRET_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_S3_BUCKET_NAME=plane-uploads
- AWS_S3_ENDPOINT_URL=http://plane-minio:9000
- USE_MINIO=1
depends_on:
- plane-api
networks:
- plane-net
plane-beat-worker:
image: makeplane/plane-backend:stable
container_name: plane-beat-worker
restart: unless-stopped
command: /code/bin/docker-entrypoint-beat.sh
environment:
- DEBUG=0
- DJANGO_SETTINGS_MODULE=plane.settings.production
- DATABASE_URL=postgresql://plane:plane@plane-db:5432/plane
- REDIS_URL=redis://plane-redis:6379/
- SECRET_KEY=${SECRET_KEY}
depends_on:
- plane-api
networks:
- plane-net
plane-db:
image: postgres:15
container_name: plane-db
restart: unless-stopped
environment:
- POSTGRES_USER=plane
- POSTGRES_PASSWORD=plane
- POSTGRES_DB=plane
volumes:
- /mnt/user/appdata/plane/db-data:/var/lib/postgresql/data
networks:
- plane-net
plane-redis:
image: redis:7
container_name: plane-redis
restart: unless-stopped
volumes:
- /mnt/user/appdata/plane/redis-data:/data
networks:
- plane-net
plane-minio:
image: minio/minio
container_name: plane-minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
volumes:
- /mnt/user/appdata/plane/minio-data:/data
networks:
- plane-net