forked from msawired/OP-P5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 823 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (31 loc) · 823 Bytes
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
services:
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
# - API_TOKEN
# - CORS_ALLOW_LOCALHOST
# - OP_404_SKETCH_ID
# - PORT
# - PREVIEW_PORT
# - EDITOR_URL
# - PREVIEW_URL
# - EXAMPLES_ENDPOINT
# - TRANSLATIONS_ENABLED
# - UPLOAD_LIMIT
volumes:
- .:/opt/node/app
- /opt/node/app/node_modules
ports:
- '8000:8000'
- '8002:8002'