docker-compose.yml 739 B

1234567891011121314151617181920212223242526272829
  1. # yaml configuration
  2. services:
  3. web:
  4. platform: linux/amd64
  5. container_name: fuzz_web
  6. build:
  7. context: ./portal
  8. dockerfile: Dockerfile
  9. args:
  10. - proxy=${proxy}
  11. volumes:
  12. - "./portal:/portal"
  13. ports:
  14. - "${portal_port}:80"
  15. server:
  16. build:
  17. context: ../../..
  18. dockerfile: ./tests/fuzz/wasm-mutator-fuzz/server/Dockerfile
  19. args:
  20. - proxy=${proxy}
  21. ports:
  22. - "${server_port}:16667"
  23. container_name: fuzz_server
  24. volumes:
  25. - "./server/app/data.db:/wamr-test/tests/fuzz/wasm-mutator-fuzz/server/app/data.db"
  26. - "./workspace:/wamr-test/tests/fuzz/wasm-mutator-fuzz/workspace"
  27. environment:
  28. - "TZ=Asia/Shanghai"
  29. restart: on-failure