2023-10-13 06:46:08 +00:00
|
|
|
networks:
|
|
|
|
dev_env:
|
|
|
|
driver: bridge
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
redisdata:
|
|
|
|
uploads:
|
|
|
|
pgdata:
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
plane-redis:
|
2024-04-29 11:12:25 +00:00
|
|
|
image: redis:7.2.4-alpine
|
2023-10-13 06:46:08 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- redisdata:/data
|
|
|
|
|
|
|
|
plane-minio:
|
|
|
|
image: minio/minio
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
command: server /export --console-address ":9090"
|
|
|
|
volumes:
|
|
|
|
- uploads:/export
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID}
|
|
|
|
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
|
|
|
|
|
|
|
|
plane-db:
|
|
|
|
image: postgres:15.2-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
command: postgres -c 'max_connections=1000'
|
|
|
|
volumes:
|
|
|
|
- pgdata:/var/lib/postgresql/data
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
PGDATA: /var/lib/postgresql/data
|
|
|
|
|
|
|
|
web:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./web/Dockerfile.dev
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
2023-12-14 10:48:02 +00:00
|
|
|
- ./web:/app/web
|
2023-10-13 06:46:08 +00:00
|
|
|
env_file:
|
|
|
|
- ./web/.env
|
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
- worker
|
|
|
|
|
|
|
|
space:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./space/Dockerfile.dev
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
2023-12-14 10:48:02 +00:00
|
|
|
- ./space:/app/space
|
2023-10-13 06:46:08 +00:00
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
- worker
|
|
|
|
- web
|
|
|
|
|
2024-05-09 12:16:31 +00:00
|
|
|
admin:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./admin/Dockerfile.dev
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- ./admin:/app/admin
|
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
- worker
|
|
|
|
- web
|
|
|
|
|
2023-10-13 06:46:08 +00:00
|
|
|
api:
|
|
|
|
build:
|
|
|
|
context: ./apiserver
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
args:
|
|
|
|
DOCKER_BUILDKIT: 1
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- ./apiserver:/code
|
2024-01-23 09:37:45 +00:00
|
|
|
command: ./bin/takeoff.local
|
2023-10-13 06:46:08 +00:00
|
|
|
env_file:
|
|
|
|
- ./apiserver/.env
|
|
|
|
depends_on:
|
|
|
|
- plane-db
|
|
|
|
- plane-redis
|
|
|
|
|
|
|
|
worker:
|
|
|
|
build:
|
|
|
|
context: ./apiserver
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
args:
|
|
|
|
DOCKER_BUILDKIT: 1
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- ./apiserver:/code
|
2024-01-23 09:37:45 +00:00
|
|
|
command: ./bin/worker
|
2023-10-13 06:46:08 +00:00
|
|
|
env_file:
|
|
|
|
- ./apiserver/.env
|
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
- plane-db
|
|
|
|
- plane-redis
|
|
|
|
|
|
|
|
beat-worker:
|
|
|
|
build:
|
|
|
|
context: ./apiserver
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
args:
|
|
|
|
DOCKER_BUILDKIT: 1
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- ./apiserver:/code
|
2024-01-23 09:37:45 +00:00
|
|
|
command: ./bin/beat
|
2023-10-13 06:46:08 +00:00
|
|
|
env_file:
|
|
|
|
- ./apiserver/.env
|
|
|
|
depends_on:
|
|
|
|
- api
|
|
|
|
- plane-db
|
|
|
|
- plane-redis
|
|
|
|
|
2024-01-23 09:37:45 +00:00
|
|
|
migrator:
|
|
|
|
build:
|
|
|
|
context: ./apiserver
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
args:
|
|
|
|
DOCKER_BUILDKIT: 1
|
2024-02-13 07:09:58 +00:00
|
|
|
restart: "no"
|
2024-01-23 09:37:45 +00:00
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
volumes:
|
|
|
|
- ./apiserver:/code
|
|
|
|
command: >
|
|
|
|
sh -c "python manage.py wait_for_db --settings=plane.settings.local &&
|
|
|
|
python manage.py migrate --settings=plane.settings.local"
|
|
|
|
env_file:
|
|
|
|
- ./apiserver/.env
|
|
|
|
depends_on:
|
|
|
|
- plane-db
|
|
|
|
- plane-redis
|
|
|
|
|
2023-10-13 06:46:08 +00:00
|
|
|
proxy:
|
|
|
|
build:
|
|
|
|
context: ./nginx
|
2023-12-14 10:48:02 +00:00
|
|
|
dockerfile: Dockerfile.dev
|
2023-10-13 06:46:08 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- dev_env
|
|
|
|
ports:
|
|
|
|
- ${NGINX_PORT}:80
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT:-5242880}
|
|
|
|
BUCKET_NAME: ${AWS_S3_BUCKET_NAME:-uploads}
|
|
|
|
depends_on:
|
|
|
|
- web
|
|
|
|
- api
|
|
|
|
- space
|
2024-05-09 12:16:31 +00:00
|
|
|
- admin
|