backend & types
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
version: "3.8"
|
||||
name: tibi-docs
|
||||
name: ${PROJECT_NAME}
|
||||
|
||||
services:
|
||||
docpress:
|
||||
profiles:
|
||||
- docpress
|
||||
image: node:20
|
||||
image: node:18
|
||||
volumes:
|
||||
- ./:/data
|
||||
- ./tmp:/tmp
|
||||
- ./tmp/nonexistent:/nonexistent
|
||||
- ./tmp/.npm:/.npm
|
||||
- ./tmp/.yarn:/.yarn
|
||||
working_dir: /data/docs
|
||||
command: sh -c "yarn install && yarn docpress:serve"
|
||||
expose:
|
||||
@@ -25,15 +23,14 @@ services:
|
||||
profiles:
|
||||
- tibi
|
||||
- tibi-dev
|
||||
image: node:20
|
||||
image: node:18
|
||||
volumes:
|
||||
- ./:/data
|
||||
- ./tmp:/tmp
|
||||
- ./tmp/nonexistent:/nonexistent
|
||||
- ./tmp/.npm:/.npm
|
||||
- ./tmp/.yarn:/.yarn
|
||||
working_dir: /data
|
||||
command: sh -c "yarn install && API_BASE=http://tibiserver:8080/api/v1/_/${TIBI_NAMESPACE} yarn start"
|
||||
command: sh -c "yarn install && API_BASE=http://tibiserver:8080/api/v1/_/${TIBI_NAMESPACE} yarn start${START_SCRIPT}"
|
||||
expose:
|
||||
- 3000
|
||||
labels:
|
||||
@@ -115,7 +112,7 @@ services:
|
||||
tibiadmin-dev:
|
||||
profiles:
|
||||
- tibi-dev
|
||||
image: node:20
|
||||
image: node:18
|
||||
volumes:
|
||||
- ./../../cms/tibi-admin:/data
|
||||
working_dir: /data
|
||||
|
||||
Reference in New Issue
Block a user