Try to fix anon in a different way to fix gha tests

This commit is contained in:
arttu
2024-07-09 23:30:42 +03:00
parent 567ddc4301
commit 27e81367ce
+3 -3
View File
@@ -1,7 +1,7 @@
# For running with anonymous data, for e2e tests in local or github actions
services:
frontend:
container_name: nowdb-frontend-dev
container_name: nowdb-frontend-anon
image: node:20-alpine3.16
volumes:
- ./frontend/:/usr/src/app
@@ -10,12 +10,12 @@ services:
command: >
sh -c "cd /usr/src/app && npm ci && npm run dev -- --host"
backend:
container_name: nowdb-backend-dev
container_name: nowdb-backend-anon
image: node:20-alpine3.16
env_file: .anon.env
volumes:
- ./backend/:/usr/src/app/backend/
- ./frontend/src/validators:/usr/src/app/frontend/src/validators
- ./frontend/src/:/usr/src/app/frontend/src/
ports:
- 127.0.0.1:4000:4000
command: >