docker-compose.debug.yml 583 B

123456789101112131415161718192021222324252627
  1. version: '3'
  2. services:
  3. frontend:
  4. # image: node:20
  5. image: node:20-alpine
  6. container_name: dev-frontend
  7. build:
  8. context: ./frontend
  9. dockerfile: Dockerfile.dev
  10. working_dir: /app
  11. volumes:
  12. - ./frontend/src:/app/src/
  13. - ./frontend/public:/app/public
  14. # env_file: .env
  15. environment:
  16. - NEXT_PUBLIC_ENV=development
  17. - INFISICAL_TELEMETRY_ENABLED=${TELEMETRY_ENABLED}
  18. networks:
  19. - infisical-dev
  20. command: sh -c "yarn install && yarn dev"
  21. ports:
  22. - 3000:3000
  23. networks:
  24. infisical-dev:
  25. driver: bridge