forked from speckleworks/SpeckleServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (60 loc) · 1.4 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3'
services:
# SPECKLE
speckle:
image: speckle/speckleserver:latest
#image: speckle:latest # local dev
ports:
- '3000:3000'
networks:
- webnet
#restart: always
depends_on:
- redis
- mongo
environment:
# Please see the example .env file provided for how to properly configure this.
# https://github.com/speckleworks/SpeckleServer/blob/master/.env-base
- SERVER_NAME=Docker Speckle Server
- CANONICAL_URL=http://localhost:3000
- SESSION_SECRET=change_me
# optional
- MAX_PROC=1
- PUBLIC_STREAMS=true
- PLUGIN_DIRS=./node_modules/@speckle,./plugins
- PORT=3000
- IP=0.0.0.0
- REQ_SIZE=10mb
- MONGODB_URI=mongodb://mongo:27017/speckle_v3
- REDIS_URL=redis://redis:6379
- INDENT_RESPONSES=false
- EXPOSE_EMAILS=true
- FIRST_USER_ADMIN=true
- PUBLIC_REGISTRATION=true
- USE_LOCAL=true
- REDIRECT_URLS=https://app.speckle.systems
links:
- redis
- mongo
# MONGODB
mongo:
image: mongo:latest
ports:
- '27017:27017'
networks:
- webnet
volumes:
- ./data:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=
- MONGO_INITDB_ROOT_PASSWORD=
- MONGO_INITDB_DATABASE=
# REDIS
redis:
image: redis:alpine
ports:
- '6379:6379'
networks:
- webnet
networks:
webnet: