Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: specklesystems/specklepy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.16.0
Choose a base ref
...
head repository: specklesystems/specklepy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Feb 7, 2023

  1. Copy the full SHA
    6a9f4bf View commit details

Commits on Jul 17, 2023

  1. traversal

    JR-Morgan committed Jul 17, 2023
    Copy the full SHA
    ec651a9 View commit details

Commits on Jul 28, 2023

  1. non-geometry GIS class

    KatKatKateryna committed Jul 28, 2023
    Copy the full SHA
    34de292 View commit details

Commits on Aug 25, 2023

  1. add Topography class

    KatKatKateryna committed Aug 25, 2023
    Copy the full SHA
    5ac85c5 View commit details

Commits on Aug 30, 2023

  1. allow string units

    gjedlicska committed Aug 30, 2023
    Copy the full SHA
    102850b View commit details

Commits on Aug 31, 2023

  1. attrs class

    JR-Morgan committed Aug 31, 2023
    Copy the full SHA
    3a225fa View commit details
  2. Copy the full SHA
    16164a5 View commit details
  3. Poetry lock

    JR-Morgan committed Aug 31, 2023
    Copy the full SHA
    76c4074 View commit details
  4. Merge pull request #288 from specklesystems/jrm/graph-traversal

    feat: Added graph traversal
    gjedlicska authored Aug 31, 2023
    Copy the full SHA
    125a4bb View commit details

Commits on Sep 4, 2023

  1. Copy the full SHA
    0cb6c7f View commit details
  2. Copy the full SHA
    91edd4f View commit details
  3. Revert "add metrics keyword for Connector Action"

    This reverts commit 0cb6c7f.
    KatKatKateryna committed Sep 4, 2023
    Copy the full SHA
    8bd46e4 View commit details
  4. Copy the full SHA
    5e8b54e View commit details
  5. Copy the full SHA
    7f926cf View commit details
  6. Copy the full SHA
    854ce9f View commit details

Commits on Sep 5, 2023

  1. SDK Action

    KatKatKateryna committed Sep 5, 2023
    Copy the full SHA
    34c11d5 View commit details
  2. Update base.py

    JR-Morgan authored Sep 5, 2023
    Copy the full SHA
    9723394 View commit details
  3. Merge pull request #293 from specklesystems/metrics_rename

    SDK Action metrics rename
    gjedlicska authored Sep 5, 2023
    Copy the full SHA
    a5096c4 View commit details
  4. naming

    KatKatKateryna committed Sep 5, 2023
    Copy the full SHA
    703ceaf View commit details

Commits on Sep 6, 2023

  1. Copy the full SHA
    5e2fbaa View commit details
  2. fix

    KatKatKateryna committed Sep 6, 2023
    Copy the full SHA
    5ac9d80 View commit details
  3. Copy the full SHA
    8244e3e View commit details
  4. Copy the full SHA
    2b583fd View commit details
  5. Copy the full SHA
    3c7feb0 View commit details
  6. Copy the full SHA
    791190a View commit details
  7. Copy the full SHA
    23ee28f View commit details
  8. fix(AbstractTransport-and-subclasses): abstract transport and its sub…

    …classes should not be pydantic models
    
    Pydantic is a validation and parsing library, its supposed to sit at the edge of apps, to make sure the data transferred in and out is valid. Its not meant to be a generic python base class.
    gjedlicska committed Sep 6, 2023
    Copy the full SHA
    52d53db View commit details

Commits on Sep 7, 2023

  1. Merge pull request #291 from specklesystems/2.16

    2.16 - add classes for Topography and Tables without geometry
    gjedlicska authored Sep 7, 2023
    Copy the full SHA
    4931c95 View commit details
  2. Copy the full SHA
    bd35fb5 View commit details
  3. Copy the full SHA
    9d2fd5b View commit details
  4. Copy the full SHA
    65048cd View commit details
  5. Copy the full SHA
    b5fb684 View commit details
  6. Merge pull request #296 from specklesystems/gergo/abstract_transport_…

    …no_pydantic
    
    fix(AbstractTransport-and-subclasses): abstract transport and its subclasses should not be pydantic models
    gjedlicska authored Sep 7, 2023
    Copy the full SHA
    1e6321c View commit details
  7. Copy the full SHA
    3a97931 View commit details

Commits on Sep 8, 2023

  1. Copy the full SHA
    32b5ef8 View commit details
  2. Merge pull request #299 from specklesystems/jrm/units/units-brep-fix

    fix(objects)): Fixed issue where breps were incorrectly setting their…
    JR-Morgan authored Sep 8, 2023
    Copy the full SHA
    c169c4e View commit details
  3. Copy the full SHA
    3eed9a6 View commit details

Commits on Sep 18, 2023

  1. Merge pull request #300 from specklesystems/2.16_backwards-compatibility

    add deprecated gis classes
    KatKatKateryna authored Sep 18, 2023
    Copy the full SHA
    948a56a View commit details

Commits on Sep 19, 2023

  1. fix: object initialization

    now every time specklepy is imported, all object definitions are initialized.
     This ensures, that all speckle types are registered.
    gjedlicska committed Sep 19, 2023
    Copy the full SHA
    589198f View commit details
  2. Copy the full SHA
    b02f183 View commit details
  3. Copy the full SHA
    541e3d9 View commit details
  4. Copy the full SHA
    f254def View commit details
  5. feat: test against latest

    gjedlicska committed Sep 19, 2023
    Copy the full SHA
    2e8943e View commit details
  6. fix: we still support py38

    gjedlicska committed Sep 19, 2023
    Copy the full SHA
    e4d087d View commit details
  7. chore: update deps

    gjedlicska committed Sep 19, 2023
    Copy the full SHA
    8ffe219 View commit details

Commits on Sep 20, 2023

  1. Merge pull request #303 from specklesystems/gergo/speckle_automate

    feat: add speckle automate package with some basic sanity tests
    gjedlicska authored Sep 20, 2023
    Copy the full SHA
    fbbd6c0 View commit details

Commits on Sep 21, 2023

  1. Copy the full SHA
    fe92e49 View commit details
  2. Copy the full SHA
    d1ebd84 View commit details

Commits on Oct 2, 2023

  1. WIP: rework result schema

    gjedlicska committed Oct 2, 2023
    Copy the full SHA
    b1f979a View commit details
  2. Copy the full SHA
    6e7c362 View commit details
Showing with 8,034 additions and 2,171 deletions.
  1. +41 −3 .circleci/config.yml
  2. +1 −1 .devcontainer/Dockerfile
  3. +9 −9 .pre-commit-config.yaml
  4. +5 −35 README.md
  5. +12 −54 docker-compose.yml
  6. +1,369 −1,055 poetry.lock
  7. +15 −11 pyproject.toml
  8. +24 −0 src/speckle_automate/__init__.py
  9. +436 −0 src/speckle_automate/automation_context.py
  10. +155 −0 src/speckle_automate/fixtures.py
  11. +193 −0 src/speckle_automate/runner.py
  12. +98 −0 src/speckle_automate/schema.py
  13. +3 −0 src/specklepy/__init__.py
  14. +67 −28 src/specklepy/api/client.py
  15. +13 −17 src/specklepy/api/credentials.py
  16. +73 −17 src/specklepy/api/host_applications.py
  17. +0 −12 src/specklepy/api/models.py
  18. +35 −0 src/specklepy/api/models/__init__.py
  19. +5 −8 src/specklepy/api/operations.py
  20. +6 −20 src/specklepy/api/resource.py
  21. +40 −8 src/specklepy/api/resources/__init__.py
  22. +0 −120 src/specklepy/api/resources/active_user.py
  23. +144 −0 src/specklepy/api/resources/current/active_user_resource.py
  24. +74 −0 src/specklepy/api/resources/current/model_resource.py
  25. +104 −0 src/specklepy/api/resources/current/other_user_resource.py
  26. +54 −0 src/specklepy/api/resources/current/project_invite_resource.py
  27. +63 −0 src/specklepy/api/resources/current/project_resource.py
  28. +3 −9 src/specklepy/api/resources/{server.py → current/server_resource.py}
  29. +64 −0 src/specklepy/api/resources/current/subscription_resource.py
  30. +63 −0 src/specklepy/api/resources/current/version_resource.py
  31. +9 −0 src/specklepy/api/resources/deprecated/active_user.py
  32. +16 −6 src/specklepy/api/resources/{ → deprecated}/branch.py
  33. +19 −8 src/specklepy/api/resources/{ → deprecated}/commit.py
  34. +9 −7 src/specklepy/api/resources/{ → deprecated}/object.py
  35. +11 −0 src/specklepy/api/resources/deprecated/other_user.py
  36. +9 −0 src/specklepy/api/resources/deprecated/server.py
  37. +27 −9 src/specklepy/api/resources/{ → deprecated}/stream.py
  38. +19 −21 src/specklepy/api/resources/{ → deprecated}/subscriptions.py
  39. +11 −16 src/specklepy/api/resources/{ → deprecated}/user.py
  40. +0 −87 src/specklepy/api/resources/other_user.py
  41. +8 −14 src/specklepy/api/wrapper.py
  42. +79 −32 src/specklepy/core/api/client.py
  43. +26 −3 src/specklepy/core/api/credentials.py
  44. +29 −0 src/specklepy/core/api/enums.py
  45. +42 −0 src/specklepy/core/api/inputs/__init__.py
  46. +26 −0 src/specklepy/core/api/inputs/model_inputs.py
  47. +47 −0 src/specklepy/core/api/inputs/project_inputs.py
  48. +15 −0 src/specklepy/core/api/inputs/user_inputs.py
  49. +37 −0 src/specklepy/core/api/inputs/version_inputs.py
  50. +71 −0 src/specklepy/core/api/models/__init__.py
  51. +171 −0 src/specklepy/core/api/models/current.py
  52. +14 −68 src/specklepy/core/api/{models.py → models/deprecated.py}
  53. +36 −0 src/specklepy/core/api/models/subscription_messages.py
  54. +1 −1 src/specklepy/core/api/operations.py
  55. +35 −1 src/specklepy/core/api/resource.py
  56. +43 −0 src/specklepy/core/api/resources/__init__.py
  57. +196 −50 src/specklepy/core/api/resources/{active_user.py → current/active_user_resource.py}
  58. +280 −0 src/specklepy/core/api/resources/current/model_resource.py
  59. +89 −22 src/specklepy/core/api/resources/{other_user.py → current/other_user_resource.py}
  60. +254 −0 src/specklepy/core/api/resources/current/project_invite_resource.py
  61. +336 −0 src/specklepy/core/api/resources/current/project_resource.py
  62. +15 −2 src/specklepy/core/api/resources/{server.py → current/server_resource.py}
  63. +218 −0 src/specklepy/core/api/resources/current/subscription_resource.py
  64. +234 −0 src/specklepy/core/api/resources/current/version_resource.py
  65. +15 −0 src/specklepy/core/api/resources/deprecated/active_user.py
  66. +18 −2 src/specklepy/core/api/resources/{ → deprecated}/branch.py
  67. +20 −5 src/specklepy/core/api/resources/{ → deprecated}/commit.py
  68. 0 src/specklepy/core/api/resources/{ → deprecated}/object.py
  69. +15 −0 src/specklepy/core/api/resources/deprecated/other_user.py
  70. +11 −0 src/specklepy/core/api/resources/deprecated/server.py
  71. +47 −13 src/specklepy/core/api/resources/{ → deprecated}/stream.py
  72. +7 −1 src/specklepy/core/api/resources/{ → deprecated}/subscriptions.py
  73. +5 −2 src/specklepy/core/api/resources/{ → deprecated}/user.py
  74. +2 −0 src/specklepy/core/api/resources/graphql.config.yml
  75. +9 −0 src/specklepy/core/api/responses.py
  76. +124 −28 src/specklepy/core/api/wrapper.py
  77. +1 −0 src/specklepy/core/helpers/speckle_path_provider.py
  78. +4 −3 src/specklepy/logging/metrics.py
  79. +9 −24 src/specklepy/objects/GIS/CRS.py
  80. +16 −14 src/specklepy/objects/GIS/__init__.py
  81. +59 −89 src/specklepy/objects/GIS/geometry.py
  82. +98 −52 src/specklepy/objects/GIS/layers.py
  83. +19 −2 src/specklepy/objects/__init__.py
  84. +13 −15 src/specklepy/objects/base.py
  85. +14 −14 src/specklepy/objects/geometry.py
  86. +100 −0 src/specklepy/objects/graph_traversal/commit_object_builder.py
  87. +125 −0 src/specklepy/objects/graph_traversal/traversal.py
  88. +26 −13 src/specklepy/objects/other.py
  89. +1 −4 src/specklepy/objects/structural/__init__.py
  90. +1 −1 src/specklepy/objects/structural/axis.py
  91. +45 −5 src/specklepy/objects/units.py
  92. +3 −8 src/specklepy/transports/abstract_transport.py
  93. +10 −9 src/specklepy/transports/memory.py
  94. +1 −1 src/specklepy/transports/server/batch_sender.py
  95. +26 −17 src/specklepy/transports/server/server.py
  96. +10 −31 src/specklepy/transports/sqlite.py
  97. 0 tests/{intergration → integration}/__init__.py
  98. +62 −0 tests/integration/client/current/test_active_user_resource.py
  99. +151 −0 tests/integration/client/current/test_model_resource.py
  100. +32 −0 tests/integration/client/current/test_other_user_resource.py
  101. +176 −0 tests/integration/client/current/test_project_invite_resource.py
  102. +93 −0 tests/integration/client/current/test_project_resource.py
  103. +185 −0 tests/integration/client/current/test_subscription_resource.py
  104. +198 −0 tests/integration/client/current/test_version_resource.py
  105. +6 −7 tests/{intergration → integration/client/deprecated}/test_active_user.py
  106. 0 tests/{intergration → integration/client/deprecated}/test_branch.py
  107. 0 tests/{intergration → integration/client/deprecated}/test_commit.py
  108. 0 tests/{intergration → integration/client/deprecated}/test_objects.py
  109. +2 −2 tests/{intergration → integration/client/deprecated}/test_other_user.py
  110. +1 −0 tests/{intergration → integration/client/deprecated}/test_server.py
  111. +11 −7 tests/{intergration → integration/client/deprecated}/test_stream.py
  112. 0 tests/{intergration → integration/client/deprecated}/test_user.py
  113. 0 tests/{intergration → integration/client}/test_client_and_ops.py
  114. +40 −15 tests/{intergration → integration}/conftest.py
  115. 0 tests/integration/speckle_automate/__init__.py
  116. +260 −0 tests/integration/speckle_automate/test_automation_context.py
  117. +1 −1 tests/{intergration → integration}/test_serialization.py
  118. +97 −4 tests/{intergration → integration}/test_wrapper.py
  119. +77 −0 tests/unit/test_account_server_migration.py
  120. +5 −4 tests/unit/test_base.py
  121. +4 −4 tests/unit/test_geometry.py
  122. +105 −0 tests/unit/test_graph_traversal.py
  123. +6 −1 tests/unit/test_type_validation.py
  124. +52 −0 tests/unit/test_unit_scaling.py
  125. +15 −19 utils/installer.py
44 changes: 41 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,47 @@
version: 2.1

orbs:
python: circleci/python@2.0.3
codecov: codecov/codecov@3.2.2
codecov: codecov/codecov@3.3.0

jobs:
pre-commit:
parameters:
config_file:
default: ./.pre-commit-config.yaml
description: Optional, path to pre-commit config file.
type: string
cache_prefix:
default: ''
description: |
Optional cache prefix to be used on CircleCI. Can be used for cache busting or to ensure multiple jobs use different caches.
type: string
docker:
- image: speckle/pre-commit-runner:latest
resource_class: medium
steps:
- checkout
- restore_cache:
keys:
- cache-pre-commit-<<parameters.cache_prefix>>-{{ checksum "<<parameters.config_file>>" }}
- run:
name: Install pre-commit hooks
command: pre-commit install-hooks --config <<parameters.config_file>>
- save_cache:
key: cache-pre-commit-<<parameters.cache_prefix>>-{{ checksum "<<parameters.config_file>>" }}
paths:
- ~/.cache/pre-commit
- run:
name: Run pre-commit
command: pre-commit run --all-files
- run:
command: git --no-pager diff
name: git diff
when: on_fail

test:
machine:
image: ubuntu-2204:2023.02.1
docker_layer_caching: true
docker_layer_caching: false
resource_class: medium
parameters:
tag:
@@ -52,6 +85,10 @@ jobs:
workflows:
main:
jobs:
- pre-commit:
filters:
tags:
only: /.*/
- test:
matrix:
parameters:
@@ -62,6 +99,7 @@ workflows:
- deploy:
context: pypi
requires:
- pre-commit
- test
filters:
tags:
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -22,6 +22,6 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/

USER vscode

RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
RUN curl -sSL https://install.python-poetry.org | python3 -

ENV PATH=$PATH:$HOME/.poetry/env
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -2,23 +2,23 @@ repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
hooks:
- id: ruff
rev: v0.0.186
rev: v0.8.2

- repo: https://github.com/commitizen-tools/commitizen
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
rev: v2.38.0
- id: commitizen
- id: commitizen-branch
stages:
- push
rev: v3.13.0

- repo: https://github.com/pycqa/isort
rev: v5.11.3
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.10.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
@@ -27,7 +27,7 @@ repos:
# https://pre-commit.com/#top_level-default_language_version
# language_version: python3.11
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
40 changes: 5 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,46 +2,16 @@
<img src="https://user-images.githubusercontent.com/2679513/131189167-18ea5fe1-c578-47f6-9785-3748178e4312.png" width="150px"/><br/>
Speckle | specklepy 🐍
</h1>
<h3 align="center">
The Python SDK
</h3>
<p align="center"><b>Speckle</b> is the data infrastructure for the AEC industry.</p><br/>

<p align="center"><a href="https://twitter.com/SpeckleSystems"><img src="https://img.shields.io/twitter/follow/SpeckleSystems?style=social" alt="Twitter Follow"></a> <a href="https://speckle.community"><img src="https://img.shields.io/discourse/users?server=https%3A%2F%2Fspeckle.community&amp;style=flat-square&amp;logo=discourse&amp;logoColor=white" alt="Community forum users"></a> <a href="https://speckle.systems"><img src="https://img.shields.io/badge/https://-speckle.systems-royalblue?style=flat-square" alt="website"></a> <a href="https://speckle.guide/dev/"><img src="https://img.shields.io/badge/docs-speckle.guide-orange?style=flat-square&amp;logo=read-the-docs&amp;logoColor=white" alt="docs"></a></p>
<p align="center"><a href="https://github.com/specklesystems/specklepy/"><img src="https://circleci.com/gh/specklesystems/specklepy.svg?style=svg&amp;circle-token=76eabd350ea243575cbb258b746ed3f471f7ac29" alt="Speckle-Next"></a><a href="https://codecov.io/gh/specklesystems/specklepy">
<img src="https://codecov.io/gh/specklesystems/specklepy/branch/main/graph/badge.svg?token=8KQFL5N0YF"/>
</a> </p>

# About Speckle

What is Speckle? Check our ![YouTube Video Views](https://img.shields.io/youtube/views/B9humiSpHzM?label=Speckle%20in%201%20minute%20video&style=social)

### Features

- **Object-based:** say goodbye to files! Speckle is the first object based platform for the AEC industry
- **Version control:** Speckle is the Git & Hub for geometry and BIM data
- **Collaboration:** share your designs collaborate with others
- **3D Viewer:** see your CAD and BIM models online, share and embed them anywhere
- **Interoperability:** get your CAD and BIM models into other software without exporting or importing
- **Real time:** get real time updates and notifications and changes
- **GraphQL API:** get what you need anywhere you want it
- **Webhooks:** the base for a automation and next-gen pipelines
- **Built for developers:** we are building Speckle with developers in mind and got tools for every stack
- **Built for the AEC industry:** Speckle connectors are plugins for the most common software used in the industry such as Revit, Rhino, Grasshopper, AutoCAD, Civil 3D, Excel, Unreal Engine, Unity, QGIS, Blender and more!

### Try Speckle now!
> Speckle is the first AEC data hub that connects with your favorite AEC tools. Speckle exists to overcome the challenges of working in a fragmented industry where communication, creative workflows, and the exchange of data are often hindered by siloed software and processes. It is here to make the industry better.
Give Speckle a try in no time by:

- [![speckle XYZ](https://img.shields.io/badge/https://-speckle.xyz-0069ff?style=flat-square&logo=hackthebox&logoColor=white)](https://speckle.xyz) ⇒ creating an account at our public server
- [![create a droplet](https://img.shields.io/badge/Create%20a%20Droplet-0069ff?style=flat-square&logo=digitalocean&logoColor=white)](https://marketplace.digitalocean.com/apps/speckle-server?refcode=947a2b5d7dc1) ⇒ deploying an instance in 1 click

### Resources

- [![Community forum users](https://img.shields.io/badge/community-forum-green?style=for-the-badge&logo=discourse&logoColor=white)](https://speckle.community) for help, feature requests or just to hang with other speckle enthusiasts, check out our community forum!
- [![website](https://img.shields.io/badge/tutorials-speckle.systems-royalblue?style=for-the-badge&logo=youtube)](https://speckle.systems) our tutorials portal is full of resources to get you started using Speckle
- [![docs](https://img.shields.io/badge/docs-speckle.guide-orange?style=for-the-badge&logo=read-the-docs&logoColor=white)](https://speckle.guide/dev/) reference on almost any end-user and developer functionality
<h3 align="center">
The Python SDK
</h3>

<p align="center"><a href="https://codecov.io/gh/specklesystems/specklepy"><img src="https://codecov.io/gh/specklesystems/specklepy/branch/main/graph/badge.svg?token=8KQFL5N0YF" alt="Codecov"></a></p>

# Repo structure

66 changes: 12 additions & 54 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ services:
retries: 30

minio:
image: "minio/minio"
image: "minio/minio:RELEASE.2023-10-25T06-33-25Z"
command: server /data --console-address ":9001"
restart: always
volumes:
@@ -52,28 +52,26 @@ services:
####
# Speckle Server
#######

speckle-frontend:
image: speckle/speckle-frontend:2
image: speckle/speckle-frontend-2:latest
restart: always
ports:
- "0.0.0.0:8080:8080"
environment:
FILE_SIZE_LIMIT_MB: 100

speckle-server:
image: speckle/speckle-server:2
image: speckle/speckle-server:latest
restart: always
healthcheck:
test:
[
"CMD",
"node",
"-e",
"require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/graphql?query={serverInfo{version}}', method: 'GET' }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end();",
]
- CMD
- /nodejs/bin/node
- -e
- "try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/readiness', method: 'GET', timeout: 2000 }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end(); } catch { process.exit(1); }"
interval: 10s
timeout: 3s
retries: 30
timeout: 10s
retries: 3
start_period: 90s
ports:
- "0.0.0.0:3000:3000"
depends_on:
@@ -98,6 +96,7 @@ services:
S3_CREATE_BUCKET: "true"

FILE_SIZE_LIMIT_MB: 100
MAX_PROJECT_MODELS_PER_PAGE: 500

# TODO: Change this to a unique secret for this server
SESSION_SECRET: "TODO:ReplaceWithLongString"
@@ -111,47 +110,6 @@ services:
POSTGRES_DB: "speckle"
ENABLE_MP: "false"

preview-service:
image: speckle/speckle-preview-service:2
restart: always
depends_on:
speckle-server:
condition: service_healthy
mem_limit: "1000m"
memswap_limit: "1000m"
environment:
DEBUG: "preview-service:*"
PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"

webhook-service:
image: speckle/speckle-webhook-service:2
restart: always
depends_on:
speckle-server:
condition: service_healthy
environment:
DEBUG: "webhook-service:*"
PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"
WAIT_HOSTS: postgres:5432

fileimport-service:
image: speckle/speckle-fileimport-service:2
restart: always
depends_on:
speckle-server:
condition: service_healthy
environment:
DEBUG: "fileimport-service:*"
PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"
WAIT_HOSTS: postgres:5432

S3_ENDPOINT: "http://minio:9000"
S3_ACCESS_KEY: "minioadmin"
S3_SECRET_KEY: "minioadmin"
S3_BUCKET: "speckle-server"

SPECKLE_SERVER_URL: "http://speckle-server:3000"

networks:
default:
name: speckle-server
Loading