docker-compose.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. version: '2.2'
  2. services:
  3. bbs:
  4. build: image
  5. # image: live_bbs
  6. image: bbs_try
  7. # build: ubuntu
  8. volumes:
  9. - ./system:/home/mystic/mystic/
  10. - ./dosemu:/home/mystic/.dosemu
  11. - /etc/localtime:/etc/localtime:ro
  12. - /sys/fs/cgroup:/sys/fs/cgroup:rw
  13. # - ./autoexec.bat:/home/mystic/.dosemu/drive_c/autoexec.bat:ro
  14. # - ./config.sys:/home/mystic/.dosemu/drive_c/config.sys:ro
  15. # For local X windows:
  16. - /tmp/.X11-unix/X0:/tmp/.X11-unix/X0
  17. ports:
  18. - "4022:4022"
  19. - "4023:4023"
  20. - "2023:4023"
  21. - "23:4023"
  22. - "2022:4022"
  23. # - "22:4022"
  24. - "24554:24554"
  25. working_dir: /home/mystic/mystic/bbs
  26. # entrypoint: ["./startup.sh"]
  27. # /mis", "server"]
  28. tty: true
  29. stdin_open: true
  30. environment:
  31. - DISPLAY=:0
  32. # - DISPLAY=vnc:99
  33. # This should reap our zombies
  34. init: true
  35. # restart: always
  36. # vnc:
  37. # build: vnc
  38. # environment:
  39. # - DISPLAY=:99
  40. # - VNC_PW=password
  41. # ports:
  42. # - "5999:5999"
  43. logging:
  44. driver: "json-file"
  45. options:
  46. max-size: "1m"
  47. max-file: "7"
  48. # vnc:
  49. # image: metal3d/xvfb
  50. # build: xvfb
  51. # restart: always