mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Try to fix anon in a different way to fix gha tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# For running with anonymous data, for e2e tests in local or github actions
|
# For running with anonymous data, for e2e tests in local or github actions
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
container_name: nowdb-frontend-dev
|
container_name: nowdb-frontend-anon
|
||||||
image: node:20-alpine3.16
|
image: node:20-alpine3.16
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend/:/usr/src/app
|
- ./frontend/:/usr/src/app
|
||||||
@@ -10,12 +10,12 @@ services:
|
|||||||
command: >
|
command: >
|
||||||
sh -c "cd /usr/src/app && npm ci && npm run dev -- --host"
|
sh -c "cd /usr/src/app && npm ci && npm run dev -- --host"
|
||||||
backend:
|
backend:
|
||||||
container_name: nowdb-backend-dev
|
container_name: nowdb-backend-anon
|
||||||
image: node:20-alpine3.16
|
image: node:20-alpine3.16
|
||||||
env_file: .anon.env
|
env_file: .anon.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/:/usr/src/app/backend/
|
- ./backend/:/usr/src/app/backend/
|
||||||
- ./frontend/src/validators:/usr/src/app/frontend/src/validators
|
- ./frontend/src/:/usr/src/app/frontend/src/
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:4000:4000
|
- 127.0.0.1:4000:4000
|
||||||
command: >
|
command: >
|
||||||
|
|||||||
Reference in New Issue
Block a user