docker-compose.yml 506 B

1234567891011121314151617181920212223
  1. version: '2.2'
  2. volumes:
  3. engine:
  4. # TODO consider passing $XAUTHORITY
  5. # https://stackoverflow.com/a/25280523/5894777
  6. services:
  7. toontown_rewritten:
  8. build: .
  9. image: fphammerle/toontown-rewritten
  10. environment:
  11. - DISPLAY
  12. #- LIBGL_DEBUG=verbose
  13. volumes:
  14. - /tmp/.X11-unix:/tmp/.X11-unix:ro
  15. - engine:/toontown-rewritten/engine:rw
  16. security_opt: [no-new-privileges]
  17. # docker-compose >=2.2,<3
  18. cpus: 0.8
  19. # https://docs.docker.com/compose/compose-file/compose-file-v2/