Hey Alex,
there are no noob questions here
And also this stuff can be a lot of trial and error sometimes.
I’ve tested again if if works for me starting from the docker-compose file we give out as an example on our dev docs, and it works for me.
Here is my working example, with throwaway values. Maybe double check your values and syntax, cause the email transport should work.
version: "2"
services:
####
# Speckle Server dependencies
#######
postgres:
image: "postgres:13.1-alpine"
restart: always
environment:
POSTGRES_DB: speckle
POSTGRES_USER: speckle
POSTGRES_PASSWORD: speckle
volumes:
- ./postgres-data:/var/lib/postgresql/data/
ports:
- "127.0.0.1:5432:5432"
redis:
image: "redis:6.0-alpine"
restart: always
volumes:
- ./redis-data:/data
ports:
- "127.0.0.1:6379:6379"
minio:
image: "minio/minio"
command: server /data --console-address ":9001"
restart: always
volumes:
- ./minio-data:/data
ports:
- "127.0.0.1:9000:9000"
- "127.0.0.1:9001:9001"
####
# Speckle Server
#######
speckle-frontend:
image: speckle/speckle-frontend:2
restart: always
ports:
- "0.0.0.0:80:80"
speckle-server:
image: speckle/speckle-server:2
restart: always
command: ["bash", "-c", "/wait && node bin/www"]
environment:
# TODO: Change this to the URL of the speckle server, as accessed from the network
CANONICAL_URL: "http://localhost"
# TODO: Change this to a unique secret for this server
SESSION_SECRET: "TODO:ReplaceWithLongString"
STRATEGY_LOCAL: "true"
DEBUG: "speckle:*"
POSTGRES_URL: "postgres"
POSTGRES_USER: "speckle"
POSTGRES_PASSWORD: "speckle"
POSTGRES_DB: "speckle"
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"
WAIT_HOSTS: postgres:5432, redis:6379, minio:9000
EMAIL: true
EMAIL_HOST: "smtp.ethereal.email"
EMAIL_PORT: "587"
EMAIL_USERNAME: "jerad.quigley@ethereal.email"
EMAIL_PASSWORD: "6p14P6kSFTFTzwFX5Z"
EMAIL_FROM: "jerad.quigley@ethereal.email"
preview-service:
image: speckle/speckle-preview-service:2
restart: always
mem_limit: "1000m"
memswap_limit: "1000m"
command: ["bash", "-c", "/wait && node bin/www"]
environment:
DEBUG: "preview-service:*"
PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"
WAIT_HOSTS: postgres:5432
webhook-service:
image: speckle/speckle-webhook-service:2
restart: always
command: ["bash", "-c", "/wait && node main.js"]
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
command: ["bash", "-c", "/wait && node src/daemon.js"]
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"