-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yaml
44 lines (41 loc) · 1.8 KB
/
docker-compose.dev.yaml
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
version: '3'
services:
api:
# use "root" user to avoid useless file permissions issues
user: root
build:
args:
SET_DEVELOPMENT_NODE_ENV: 1
command: npm run dev
environment:
PORT: 3030
NODE_APP_DIR: /home/node/app
API_BASE_URL: http://localhost:3030
ENDPOINT_SAVE_ENABLED: 'true'
ENDPOINT_STREAM_ENABLED: 'true'
ENDPOINT_SLACK_ENABLED: 'false'
VALIDATE_MAX_FILE_DURATION_IN_SECONDS: 3600
DATABASE_TYPE: json
DATABASE_JSON_TYPE: filesystem
DATABASE_JSON_FILESYSTEM_PATH: /home/node/app/data/database.json
DATABASE_JSON_BACKBLAZEB2_KEY_ID: $DATABASE_JSON_BACKBLAZEB2_KEY_ID
DATABASE_JSON_BACKBLAZEB2_APPLICATION_KEY: $DATABASE_JSON_BACKBLAZEB2_APPLICATION_KEY
DATABASE_JSON_BACKBLAZEB2_BUCKET_ID: $DATABASE_JSON_BACKBLAZEB2_BUCKET_ID
DATABASE_JSON_BACKBLAZEB2_BUCKET_NAME: $DATABASE_JSON_BACKBLAZEB2_BUCKET_NAME
DATABASE_JSON_BACKBLAZEB2_FILE_NAME: $DATABASE_JSON_BACKBLAZEB2_FILE_NAME
FILES_STORAGE_TYPE: filesystem
FILES_STORAGE_FILESYSTEM_PATH: /home/node/app/data/audio
FILES_STORAGE_BACKBLAZEB2_KEY_ID: $FILES_STORAGE_BACKBLAZEB2_KEY_ID
FILES_STORAGE_BACKBLAZEB2_APPLICATION_KEY: $FILES_STORAGE_BACKBLAZEB2_APPLICATION_KEY
FILES_STORAGE_BACKBLAZEB2_BUCKET_ID: $FILES_STORAGE_BACKBLAZEB2_BUCKET_ID
SLACK_CLIENT_ID: $SLACK_CLIENT_ID
SLACK_CLIENT_SECRET: $SLACK_CLIENT_SECRET
SLACK_VERIFICATION_TOKEN: $SLACK_VERIFICATION_TOKEN
SLACK_SLACK_BUTTON_STATE: $SLACK_SLACK_BUTTON_STATE
ports:
- '3030:3030'
# uncomment the following lines below if you want to update these files without having to rebuild your containers
# volumes:
# - ./api/src:/home/node/app/src
# - ./api/config:/home/node/app/config
# - ./api/data:/home/node/app/data