docker-compose.debug.yml 482 B

12345678910111213141516171819
  1. version: '3.4'
  2. services:
  3. githubactionscreator:
  4. container_name: java_container
  5. image: maven:3.8.4-openjdk-11-slim
  6. volumes:
  7. - /workspace:/app
  8. environment:
  9. JAVA_OPTS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005,quiet=y
  10. ports:
  11. - 3000:3000
  12. - 5005:5005
  13. command: ["/bin/sh", "-c", "while true; do sleep 1000; done"]
  14. logging:
  15. driver: 'json-file'
  16. options:
  17. max-size: '10m'
  18. max-file: '1'