version: '3.8' services: # Frontend for testing - using external backend frontend-test: build: context: .. dockerfile: Dockerfile container_name: myp-frontend-test environment: - NODE_ENV=development - AUTH_TRUST_HOST=true - AUTH_SECRET=test-secret-key-for-testing-only-do-not-use-in-production - NEXT_PUBLIC_BACKEND_URL=http://192.168.0.105:5000 ports: - "127.0.0.1:3000:3000" network_mode: "host"