Hello everyone!
help with deployment in docker what am I doing wrong?
used the manual at the link
all containers are running, but not all have healed status
some started
Network speckle-server Created 0.0s
Container speckle-server-postgres-1 Healthy 6.0s
Container speckle-server-speckle-ingress-1 Started 0.5s
Container speckle-server-redis-1 Healthy 6.0s
Container speckle-server-minio-1 Healthy 5.5s
Container speckle-server-speckle-frontend-2-1 Started 0.5s
Container speckle-server-speckle-server-1 Healthy 16.7s
Container speckle-server-fileimport-service-1 Started 16.9s
Container speckle-server-webhook-service-1 Started 17.0s
Container speckle-server-preview-service-1 Started
I can log into the service, register
but in Revit, for example, I see a black window from the connector without the ability to connect to a custom server
ok, I think
there is a manual json setting
how to name a file by path
%appdata%\Speckle\Accounts
?
any name? named account.json
inserted my values.
doesn’t work..it doesn’t try to connect to the home server, black connector window
(my firewall on the output of winrente is closed to everything, but in the local network 192.168.0.0/20 it is also open to everything) that is, the server is accessible on all ports from the host with revit
also when opening the service in the browser, this error occurs..
Error 500
Internal API call failed, please contact site administrators
Reference: #_Cs7MllW2qqKTvczusAH5 | #89c1b3b8-bb7a-46da-9d64-d5bf02bcc63b | 2025-04-07T09:51:49.130Z
Hi @Michail_S
Sorry to hear that you are encountering issues. Can you provide a little bit more context around the following issues:
Which url did you use, and were you able to validate your one time code when registering?
also when opening the service in the browser, this error occurs.. Error 500
Which service and what url were you attempting to access?
If you do continue to encounter 500 errors, please view the logs of container speckle-server-speckle-server-1
, which may include some additional information to help you debug your problems.
Iain
I logged into my local speckle instance,
http://speckle.domain.com
My local speckle doesn’t give me one-time codes. Just lets me register with email and password
here is my dockerfile
#version: "2.3"
name: "speckle-server"
services:
####
# Speckle Server dependencies
#######
postgres:
image: "postgres:14.5-alpine"
restart: always
environment:
POSTGRES_DB: speckle
POSTGRES_USER: speckle
POSTGRES_PASSWORD: speckle
volumes:
- postgres-data:/var/lib/postgresql/data/
healthcheck:
# the -U user has to match the POSTGRES_USER value
test: ["CMD-SHELL", "pg_isready -U speckle"]
interval: 5s
timeout: 5s
retries: 30
redis:
image: "redis:7-alpine"
restart: always
volumes:
- redis-data:/data
ports:
- "127.0.0.1:6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]
interval: 5s
timeout: 5s
retries: 30
minio:
image: "minio/minio"
command: server /data --console-address ":9001"
restart: always
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 5s
retries: 5
####
# Speckle Server
#######
speckle-ingress:
image: speckle/speckle-docker-compose-ingress:2
restart: always
ports:
- "0.0.0.0:80:8080"
environment:
FILE_SIZE_LIMIT_MB: "100"
NGINX_ENVSUBST_OUTPUT_DIR: "/etc/nginx"
speckle-frontend-2:
image: speckle/speckle-frontend-2:2
restart: always
environment:
NUXT_PUBLIC_SERVER_NAME: "local"
# TODO: Change NUXT_PUBLIC_API_ORIGIN to the URL of the speckle server, as accessed from the network. This is the same value as should be used for the CANONICAL_URL in the server section below.
NUXT_PUBLIC_API_ORIGIN: "http://speckle.domain.com"
NUXT_PUBLIC_BACKEND_API_ORIGIN: "http://speckle.domain.com:3000"
# TODO: Change NUXT_PUBLIC_BASE_URL to the URL of the speckle frontend, as accessed from the network. This is the same value as should be used for the CANONICAL_URL in the server section below.
NUXT_PUBLIC_BASE_URL: "http://speckle.domain.com"
NUXT_PUBLIC_LOG_LEVEL: 'warn'
NUXT_REDIS_URL: "redis://redis"
speckle-server:
image: speckle/speckle-server:2
restart: always
healthcheck:
test:
[
"CMD",
"/nodejs/bin/node",
"-e",
"try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/graphql?query={serverInfo{version}}', 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
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
minio:
condition: service_healthy
environment:
# TODO: Change this to the URL of the speckle server, as accessed from the network
CANONICAL_URL: "http://speckle.domain.com"
SPECKLE_AUTOMATE_URL: "http://speckle.domain.com:3030"
REDIS_URL: "redis://redis"
S3_ENDPOINT: "http://minio:9000"
S3_ACCESS_KEY: "minioadmin"
S3_SECRET_KEY: "minioadmin"
S3_BUCKET: "speckle-server"
S3_CREATE_BUCKET: "true"
FILE_SIZE_LIMIT_MB: 100
# TODO: Change this to a unique secret for this server
SESSION_SECRET: "BLABLABLA"
STRATEGY_LOCAL: "true"
DEBUG: "speckle:*"
POSTGRES_URL: "postgres"
POSTGRES_USER: "speckle"
POSTGRES_PASSWORD: "speckle"
POSTGRES_DB: "speckle"
ENABLE_MP: "false"
# TODO: Change this to the URL of the speckle server, as accessed from the network
FRONTEND_ORIGIN: "http://speckle.domain.com"
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.domain.com:3000"
networks:
default:
name: speckle-server
volumes:
postgres-data:
redis-data:
minio-data:
This is likely incorrect, the backend API origin is intended to be the private url of the service as accessed via the Docker network, in this case it should be http://speckle-server:3000
. Port 3000 isn’t exposed to the internet, so is likely not reachable at http://speckle.domain.com:3000
.
Iain
Thank you very match!
its works!
1 Like