diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 2ee06126a0..d3f260117c 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -19,27 +19,27 @@ services: ports: - 27017:27017 restart: unless-stopped - # postgres: - # image: postgres - # container_name: postgres - # extra_hosts: - # - "host.docker.internal:host-gateway" - # environment: - # - POSTGRES_PASSWORD=example - # volumes: - # - dbpg:/data/db - # ports: - # - 5432:5432 - # restart: unless-stopped - # cockroach: - # image: cockroachdb/cockroach:latest-v24.2 - # ports: - # - '26257:26257' - # - '8089:8080' - # command: start-single-node --insecure - # volumes: - # - cockroach_db:/cockroach/cockroach-data - # restart: unless-stopped + postgres: + image: postgres + container_name: postgres + extra_hosts: + - "host.docker.internal:host-gateway" + environment: + - POSTGRES_PASSWORD=example + volumes: + - dbpg:/data/db + ports: + - 5432:5432 + restart: unless-stopped + cockroach: + image: cockroachdb/cockroach:latest-v24.2 + ports: + - '26257:26257' + - '8089:8080' + command: start-single-node --insecure + volumes: + - cockroach_db:/cockroach/cockroach-data + restart: unless-stopped minio: image: 'minio/minio' command: server /data --address ":9000" --console-address ":9001" @@ -138,65 +138,65 @@ services: - ACCOUNTS_URL=http://host.docker.internal:3000 - BRANDING_PATH=/var/cfg/branding.json # - PARALLEL=2 - # - INIT_WORKSPACE=test + - INIT_WORKSPACE=test + - BACKUP_STORAGE=${BACKUP_STORAGE_CONFIG} + - BACKUP_BUCKET=${BACKUP_BUCKET_NAME} + restart: unless-stopped + workspacepg: + image: hardcoreeng/workspace + extra_hosts: + - 'host.docker.internal:host-gateway' + links: + - postgres + - minio + - stats + volumes: + - ./branding.json:/var/cfg/branding.json + environment: + - WS_OPERATION=all+backup + - SERVER_SECRET=secret + - DB_URL=postgresql://postgres:example@postgres:5432 + - STATS_URL=http://host.docker.internal:4900 + - SES_URL= + - REGION=pg + - STORAGE_CONFIG=${STORAGE_CONFIG} + - FRONT_URL=http://host.docker.internal:8087 + - RESERVED_DB_NAMES=telegram,gmail,github + - MODEL_ENABLED=* + - ACCOUNTS_URL=http://host.docker.internal:3000 + - BRANDING_PATH=/var/cfg/branding.json + # - PARALLEL=2 + # - INIT_WORKSPACE=onboarding + - BACKUP_STORAGE=${BACKUP_STORAGE_CONFIG} + - BACKUP_BUCKET=${BACKUP_BUCKET_NAME} + restart: unless-stopped + workspace_cockroach: + image: hardcoreeng/workspace + extra_hosts: + - 'host.docker.internal:host-gateway' + links: + - cockroach + - minio + - stats + volumes: + - ./branding.json:/var/cfg/branding.json + environment: + - WS_OPERATION=all+backup + - SERVER_SECRET=secret + - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable + - STATS_URL=http://host.docker.internal:4900 + - SES_URL= + - REGION=cockroach + - STORAGE_CONFIG=${STORAGE_CONFIG} + - RESERVED_DB_NAMES=telegram,gmail,github + - MODEL_ENABLED=* + - ACCOUNTS_URL=http://host.docker.internal:3000 + - BRANDING_PATH=/var/cfg/branding.json + # - PARALLEL=2 + # - INIT_WORKSPACE=onboarding - BACKUP_STORAGE=${BACKUP_STORAGE_CONFIG} - BACKUP_BUCKET=${BACKUP_BUCKET_NAME} restart: unless-stopped - # workspacepg: - # image: hardcoreeng/workspace - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # links: - # - postgres - # - minio - # - stats - # volumes: - # - ./branding.json:/var/cfg/branding.json - # environment: - # - WS_OPERATION=all+backup - # - SERVER_SECRET=secret - # - DB_URL=postgresql://postgres:example@postgres:5432 - # - STATS_URL=http://host.docker.internal:4900 - # - SES_URL= - # - REGION=pg - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - FRONT_URL=http://host.docker.internal:8087 - # - RESERVED_DB_NAMES=telegram,gmail,github - # - MODEL_ENABLED=* - # - ACCOUNTS_URL=http://host.docker.internal:3000 - # - BRANDING_PATH=/var/cfg/branding.json - # # - PARALLEL=2 - # # - INIT_WORKSPACE=onboarding - # - BACKUP_STORAGE=${BACKUP_STORAGE_CONFIG} - # - BACKUP_BUCKET=${BACKUP_BUCKET_NAME} - # restart: unless-stopped - # workspace_cockroach: - # image: hardcoreeng/workspace - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # links: - # - cockroach - # - minio - # - stats - # volumes: - # - ./branding.json:/var/cfg/branding.json - # environment: - # - WS_OPERATION=all+backup - # - SERVER_SECRET=secret - # - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable - # - STATS_URL=http://host.docker.internal:4900 - # - SES_URL= - # - REGION=cockroach - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - RESERVED_DB_NAMES=telegram,gmail,github - # - MODEL_ENABLED=* - # - ACCOUNTS_URL=http://host.docker.internal:3000 - # - BRANDING_PATH=/var/cfg/branding.json - # # - PARALLEL=2 - # # - INIT_WORKSPACE=onboarding - # - BACKUP_STORAGE=${BACKUP_STORAGE_CONFIG} - # - BACKUP_BUCKET=${BACKUP_BUCKET_NAME} - # restart: unless-stopped collaborator: image: hardcoreeng/collaborator extra_hosts: @@ -264,7 +264,6 @@ services: - 3333:3333 volumes: - ./branding.json:/var/cfg/branding.json - - ../models/all/bundle/model.json:/usr/src/app/model.json environment: # - SERVER_PROVIDER=uweb # - UWS_HTTP_MAX_HEADERS_SIZE="32768" @@ -290,74 +289,74 @@ services: - SUPPORT_WORKSPACE=support - AI_BOT_URL=http://host.docker.internal:4010 restart: unless-stopped - # transactor_pg: - # image: hardcoreeng/transactor - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # links: - # - postgres - # - minio - # - account - # - stats - # # - apm-server - # ports: - # - 3331:3331 - # volumes: - # - ./branding.json:/var/cfg/branding.json - # environment: - # # - SERVER_PROVIDER=uweb - # # - UWS_HTTP_MAX_HEADERS_SIZE="32768" - # # - UV_THREADPOOL_SIZE=10 - # - SERVER_PORT=3331 - # - SERVER_SECRET=secret - # - ENABLE_COMPRESSION=true - # - FULLTEXT_URL=http://host.docker.internal:4701 - # - STATS_URL=http://host.docker.internal:4900 - # - DB_URL=postgresql://postgres:example@postgres:5432 - # - METRICS_CONSOLE=false - # - METRICS_FILE=metrics.txt - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - FRONT_URL=http://host.docker.internal:8087 - # # - APM_SERVER_URL=http://apm-server:8200 - # - SES_URL='' - # - ACCOUNTS_URL=http://host.docker.internal:3000 - # - LAST_NAME_FIRST=true - # - BRANDING_PATH=/var/cfg/branding.json - # restart: unless-stopped - # transactor_cockroach: - # image: hardcoreeng/transactor - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # links: - # - cockroach - # - minio - # - account - # - stats - # # - apm-server - # ports: - # - 3332:3332 - # volumes: - # - ./branding.json:/var/cfg/branding.json - # environment: - # # - SERVER_PROVIDER=uweb - # # - UWS_HTTP_MAX_HEADERS_SIZE="32768" - # # - UV_THREADPOOL_SIZE=10 - # - SERVER_PORT=3332 - # - SERVER_SECRET=secret - # - ENABLE_COMPRESSION=true - # - FULLTEXT_URL=http://host.docker.internal:4702 - # - STATS_URL=http://host.docker.internal:4900 - # - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable - # - METRICS_CONSOLE=false - # - METRICS_FILE=metrics.txt - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - FRONT_URL=http://host.docker.internal:8087 - # # - APM_SERVER_URL=http://apm-server:8200 - # - SES_URL='' - # - ACCOUNTS_URL=http://host.docker.internal:3000 - # - LAST_NAME_FIRST=true - # - BRANDING_PATH=/var/cfg/branding.json - # restart: unless-stopped + transactor_pg: + image: hardcoreeng/transactor + extra_hosts: + - 'host.docker.internal:host-gateway' + links: + - postgres + - minio + - account + - stats + # - apm-server + ports: + - 3331:3331 + volumes: + - ./branding.json:/var/cfg/branding.json + environment: + # - SERVER_PROVIDER=uweb + # - UWS_HTTP_MAX_HEADERS_SIZE="32768" + # - UV_THREADPOOL_SIZE=10 + - SERVER_PORT=3331 + - SERVER_SECRET=secret + - ENABLE_COMPRESSION=true + - FULLTEXT_URL=http://host.docker.internal:4701 + - STATS_URL=http://host.docker.internal:4900 + - DB_URL=postgresql://postgres:example@postgres:5432 + - METRICS_CONSOLE=false + - METRICS_FILE=metrics.txt + - STORAGE_CONFIG=${STORAGE_CONFIG} + - FRONT_URL=http://host.docker.internal:8087 + # - APM_SERVER_URL=http://apm-server:8200 + - SES_URL='' + - ACCOUNTS_URL=http://host.docker.internal:3000 + - LAST_NAME_FIRST=true + - BRANDING_PATH=/var/cfg/branding.json + restart: unless-stopped + transactor_cockroach: + image: hardcoreeng/transactor + extra_hosts: + - 'host.docker.internal:host-gateway' + links: + - cockroach + - minio + - account + - stats + # - apm-server + ports: + - 3332:3332 + volumes: + - ./branding.json:/var/cfg/branding.json + environment: + # - SERVER_PROVIDER=uweb + # - UWS_HTTP_MAX_HEADERS_SIZE="32768" + # - UV_THREADPOOL_SIZE=10 + - SERVER_PORT=3332 + - SERVER_SECRET=secret + - ENABLE_COMPRESSION=true + - FULLTEXT_URL=http://host.docker.internal:4702 + - STATS_URL=http://host.docker.internal:4900 + - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable + - METRICS_CONSOLE=false + - METRICS_FILE=metrics.txt + - STORAGE_CONFIG=${STORAGE_CONFIG} + - FRONT_URL=http://host.docker.internal:8087 + # - APM_SERVER_URL=http://apm-server:8200 + - SES_URL='' + - ACCOUNTS_URL=http://host.docker.internal:3000 + - LAST_NAME_FIRST=true + - BRANDING_PATH=/var/cfg/branding.json + restart: unless-stopped rekoni: image: hardcoreeng/rekoni-service restart: unless-stopped @@ -382,46 +381,46 @@ services: - STATS_URL=http://host.docker.internal:4900 - REKONI_URL=http://host.docker.internal:4004 - ACCOUNTS_URL=http://host.docker.internal:3000 - # fulltext_pg: - # image: hardcoreeng/fulltext - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # restart: unless-stopped - # links: - # - elastic - # - postgres - # ports: - # - 4701:4701 - # environment: - # - PORT=4701 - # - SERVER_SECRET=secret - # - DB_URL=postgresql://postgres:example@postgres:5432 - # - FULLTEXT_DB_URL=http://host.docker.internal:9200 - # - ELASTIC_INDEX_NAME=local_storage_index - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - STATS_URL=http://host.docker.internal:4900 - # - REKONI_URL=http://host.docker.internal:4004 - # - ACCOUNTS_URL=http://host.docker.internal:3000 - # fulltext_cockroach: - # image: hardcoreeng/fulltext - # extra_hosts: - # - 'host.docker.internal:host-gateway' - # restart: unless-stopped - # links: - # - elastic - # - cockroach - # ports: - # - 4702:4702 - # environment: - # - PORT=4702 - # - SERVER_SECRET=secret - # - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable - # - FULLTEXT_DB_URL=http://host.docker.internal:9200 - # - ELASTIC_INDEX_NAME=local_storage_index - # - STORAGE_CONFIG=${STORAGE_CONFIG} - # - STATS_URL=http://host.docker.internal:4900 - # - REKONI_URL=http://host.docker.internal:4004 - # - ACCOUNTS_URL=http://host.docker.internal:3000 + fulltext_pg: + image: hardcoreeng/fulltext + extra_hosts: + - 'host.docker.internal:host-gateway' + restart: unless-stopped + links: + - elastic + - postgres + ports: + - 4701:4701 + environment: + - PORT=4701 + - SERVER_SECRET=secret + - DB_URL=postgresql://postgres:example@postgres:5432 + - FULLTEXT_DB_URL=http://host.docker.internal:9200 + - ELASTIC_INDEX_NAME=local_storage_index + - STORAGE_CONFIG=${STORAGE_CONFIG} + - STATS_URL=http://host.docker.internal:4900 + - REKONI_URL=http://host.docker.internal:4004 + - ACCOUNTS_URL=http://host.docker.internal:3000 + fulltext_cockroach: + image: hardcoreeng/fulltext + extra_hosts: + - 'host.docker.internal:host-gateway' + restart: unless-stopped + links: + - elastic + - cockroach + ports: + - 4702:4702 + environment: + - PORT=4702 + - SERVER_SECRET=secret + - DB_URL=postgresql://root@host.docker.internal:26257/defaultdb?sslmode=disable + - FULLTEXT_DB_URL=http://host.docker.internal:9200 + - ELASTIC_INDEX_NAME=local_storage_index + - STORAGE_CONFIG=${STORAGE_CONFIG} + - STATS_URL=http://host.docker.internal:4900 + - REKONI_URL=http://host.docker.internal:4004 + - ACCOUNTS_URL=http://host.docker.internal:3000 print: image: hardcoreeng/print extra_hosts: