# For running with anonymous data, for e2e tests in local or github actions services: frontend: container_name: nowdb-frontend-anon image: node:20-alpine3.16 volumes: - ./frontend/:/usr/src/app ports: - 127.0.0.1:5173:5173 env_file: .anon.env command: > sh -c "cd /usr/src/app && npm ci && npm run dev -- --host" backend: container_name: nowdb-backend-anon image: node:20-alpine3.16 env_file: .anon.env volumes: - ./backend/:/usr/src/app/backend/ - ./frontend/src/:/usr/src/app/frontend/src/ ports: - 127.0.0.1:4000:4000 command: > sh -c "cd /usr/src/app/backend && npm ci && npm run dev" db-anon: container_name: nowdb-db-anon image: mariadb:11.4.3 env_file: .anon.env volumes: - ./test_data/:/docker-entrypoint-initdb.d - nowdb-db-anon:/var/lib/mysql/data ports: - 127.0.0.1:3306:3306 volumes: nowdb-db-anon: