forked from processing/p5.js-web-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (63 loc) · 1.6 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
61
62
63
version: '3.4'
services:
mongo:
image: mongo:4.4
volumes:
- dbdata:/data/db
app:
build:
context: .
dockerfile: Dockerfile
target: production
# uncomment the following line to pull the image from docker hub
# image: index.docker.io/catarak/p5.js-web-editor:latest
# uncomment the following lines if you don't want export all of the variables
# defined in your .env file for testing
env_file:
# - "$PWD/.env.production"
- "$PWD/.env"
# environment:
# - API_URL
# - AWS_ACCESS_KEY
# - AWS_REGION
# - AWS_SECRET_KEY
# - EMAIL_SENDER
# - EMAIL_VERIFY_SECRET_TOKEN
# - EXAMPLE_USER_EMAIL
# - EXAMPLE_USER_PASSWORD
# - GG_EXAMPLES_USERNAME
# - GG_EXAMPLES_EMAIL
# - GG_EXAMPLES_PASS
# - GITHUB_ID
# - GITHUB_SECRET
# - GOOGLE_ID
# - GOOGLE_SECRET
# - MAILGUN_DOMAIN
# - MAILGUN_KEY
# - ML5_EXAMPLES_USERNAME
# - ML5_EXAMPLES_EMAIL
# - ML5_EXAMPLES_PASS
# - MONGO_URL
# - PORT
# - PREVIEW_PORT
# - EDITOR_URL
# - PREVIEW_URL
# - S3_BUCKET
# - S3_BUCKET_URL_BASE
# - SESSION_SECRET
# - TRANSLATIONS_ENABLED
# - UI_ACCESS_TOKEN_ENABLED
# - UPLOAD_LIMIT
# you can either set this in your .env or as an environment variables
# or here YOU CHOOSE
# - MONGO_URL=mongodb://mongo:27017/p5js-web-editor
volumes:
- .:/opt/node/app
- /opt/node/app/node_modules
ports:
- '8000:8000'
- '8002:8002'
depends_on:
- mongo
volumes:
dbdata: