Files
speckle-server/docker-compose-speckle.yml
T
2021-05-14 14:15:07 +03:00

42 lines
993 B
YAML

version: "3"
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
environment:
DEBUG: "preview-service:*"
PG_CONNECTION_STRING: "postgres://speckle:speckle@postgres/speckle"