version: "2" services: speckle-frontend: build: context: . dockerfile: packages/frontend/Dockerfile restart: always ports: - "0.0.0.0:80:80" speckle-server: build: context: . dockerfile: packages/server/Dockerfile restart: always 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:Replace" STRATEGY_LOCAL: "true" DEBUG: "speckle:*" POSTGRES_URL: "postgres" POSTGRES_USER: "speckle" POSTGRES_PASSWORD: "speckle" POSTGRES_DB: "speckle" REDIS_URL: "redis://redis" preview-service: build: context: . dockerfile: packages/preview-service/Dockerfile restart: always mem_limit: "1000m" memswap_limit: "1000m" environment: DEBUG: "preview-service:*" PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle" webhook-service: build: context: . dockerfile: packages/webhook-service/Dockerfile restart: always environment: DEBUG: "webhook-service:*" PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"