devcontainer.json 801 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "build": {
  3. "dockerfile": "../Dockerfile"
  4. },
  5. "name": "imgproxy OSS",
  6. "forwardPorts": [
  7. 8080
  8. ],
  9. "containerEnv": {
  10. "IMGPROXY_LOCAL_FILESYSTEM_ROOT": "/images",
  11. "IMGPROXY_ENABLE_VIDEO_THUMBNAILS": "true",
  12. "IMGPROXY_MAX_ANIMATION_FRAMES": "999",
  13. "IMGPROXY_VIPS_LEAK_CHECK": "true",
  14. "IMGPROXY_LOG_MEM_STATS": "true",
  15. "IMGPROXY_DEVELOPMENT_ERRORS_MODE": "true"
  16. },
  17. "mounts": [
  18. {
  19. "source": "${localWorkspaceFolder}/testdata/test-images",
  20. "target": "/images",
  21. "type": "bind"
  22. }
  23. ],
  24. "customizations": {
  25. "vscode": {
  26. "extensions": [
  27. "golang.go"
  28. ]
  29. }
  30. },
  31. "postCreateCommand": "lefthook install"
  32. }