forked from zoton2/nodecg-vue-ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
29 lines (28 loc) · 1.1 KB
/
compose.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
services:
nodecg:
build:
context: .
dockerfile: Dockerfile
user: root
command: sh -c "npm i --omit=dev && node --enable-source-maps ../.."
working_dir: /opt/nodecg/bundles/nodecg-vue-ts-template
init: true
ports:
- 9090:9090
volumes:
- nodecg_db:/opt/nodecg/db
- nodecg_assets:/opt/nodecg/assets
- node_modules:/opt/nodecg/bundles/nodecg-vue-ts-template/node_modules
- ./cfg:/opt/nodecg/cfg:ro
- ./package.json:/opt/nodecg/bundles/nodecg-vue-ts-template/package.json:ro
- ./package-lock.json:/opt/nodecg/bundles/nodecg-vue-ts-template/package-lock.json
- ./dashboard:/opt/nodecg/bundles/nodecg-vue-ts-template/dashboard:ro
- ./extension:/opt/nodecg/bundles/nodecg-vue-ts-template/extension:ro
- ./graphics:/opt/nodecg/bundles/nodecg-vue-ts-template/graphics:ro
- ./schemas:/opt/nodecg/bundles/nodecg-vue-ts-template/schemas:ro
- ./src:/opt/nodecg/bundles/nodecg-vue-ts-template/src:ro
- ./shared:/opt/nodecg/bundles/nodecg-vue-ts-template/shared:ro
volumes:
nodecg_db:
nodecg_assets:
node_modules: