fixed cy:docker:
This commit is contained in:
parent
5843680e14
commit
ff7441f3c5
5
cypress/tsconfig.json
Normal file
5
cypress/tsconfig.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"preserveValueImports": false
|
||||||
|
}
|
||||||
|
}
|
@ -49,7 +49,8 @@ services:
|
|||||||
CYPRESS_mongodbUri: mongodb://mongo
|
CYPRESS_mongodbUri: mongodb://mongo
|
||||||
CYPRESS_tibiApiUrl: http://tibi-server:8080/api/v1
|
CYPRESS_tibiApiUrl: http://tibi-server:8080/api/v1
|
||||||
CYPRESS_projectApiConfig: /workdir/api/config.yml
|
CYPRESS_projectApiConfig: /workdir/api/config.yml
|
||||||
DISPLAY: host.docker.internal:0.0
|
#DISPLAY: host.docker.internal:0.0
|
||||||
|
DISPLAY: $DISPLAY
|
||||||
LIBGL_ALWAYS_INDIRECT: 1
|
LIBGL_ALWAYS_INDIRECT: 1
|
||||||
command: sh ./scripts/cy-command.docker.sh $CY_COMMAND
|
command: sh ./scripts/cy-command.docker.sh $CY_COMMAND
|
||||||
#command: yarn cy:$CY_COMMAND
|
#command: yarn cy:$CY_COMMAND
|
||||||
@ -58,5 +59,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/workdir
|
- ./:/workdir
|
||||||
- ~/.cache:/home/node/.cache
|
- ~/.cache:/home/node/.cache
|
||||||
|
- $HOME/.Xauthority:$HOME/.Xauthority
|
||||||
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||||
working_dir: /workdir
|
working_dir: /workdir
|
||||||
user: $CURRENT_UID
|
user: $CURRENT_UID
|
||||||
|
Loading…
Reference in New Issue
Block a user