|
|
@ -11,18 +11,19 @@ services: |
|
|
|
- ./packages/nocodb/tests/mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
- ./packages/nocodb/tests/mysql-sakila-db:/docker-entrypoint-initdb.d |
|
|
|
xc-cypress-nocodb: |
|
|
|
xc-cypress-nocodb: |
|
|
|
network_mode: host |
|
|
|
network_mode: host |
|
|
|
image: node:12.22.1-slim |
|
|
|
image: node:14-alpine |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ./packages/nocodb:/home/app |
|
|
|
- ./packages/nocodb:/home/app |
|
|
|
command: |
|
|
|
command: |
|
|
|
- /bin/bash |
|
|
|
- /bin/sh |
|
|
|
- -c |
|
|
|
- -c |
|
|
|
- | |
|
|
|
- | |
|
|
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
|
|
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
|
|
|
cd /home/app/ && rm package-lock.json && npm i && npm run run |
|
|
|
rm /home/app/package-lock.json |
|
|
|
|
|
|
|
cd /home/app/ && npm i && npm run run |
|
|
|
xc-cypress-nc-gui: |
|
|
|
xc-cypress-nc-gui: |
|
|
|
network_mode: host |
|
|
|
network_mode: host |
|
|
|
image: node:12.22.1-slim |
|
|
|
image: node:14-alpine |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
- HOST=0.0.0.0 |
|
|
|
- HOST=0.0.0.0 |
|
|
|
- PORT=3000 |
|
|
|
- PORT=3000 |
|
|
@ -30,9 +31,10 @@ services: |
|
|
|
- ./packages/nc-gui:/home/app |
|
|
|
- ./packages/nc-gui:/home/app |
|
|
|
- ./packages/nc-lib-gui:/home/nc-lib-gui |
|
|
|
- ./packages/nc-lib-gui:/home/nc-lib-gui |
|
|
|
command: |
|
|
|
command: |
|
|
|
- /bin/bash |
|
|
|
- /bin/sh |
|
|
|
- -c |
|
|
|
- -c |
|
|
|
- | |
|
|
|
- | |
|
|
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
|
|
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
|
|
|
|
|
|
|
apk --update --no-cache add git |
|
|
|
rm /home/app/package-lock.json |
|
|
|
rm /home/app/package-lock.json |
|
|
|
cd /home/app/ && npm i && npm run dev |
|
|
|
cd /home/app/ && npm i && npm run dev |
|
|
|