Advertisement
Guest User

Untitled

a guest
Oct 14th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. ctfpad:
  5. image: lucebac/ctfpad
  6.  
  7. ports:
  8. # ctfpad port
  9. - "4242:4242"
  10. # etherpad proxy port
  11. - "4343:4343"
  12.  
  13. environment:
  14. # ctfpad port
  15. - CTFPAD_PORT=4242
  16.  
  17. # set both of the following to 'true' if you
  18. # want to have ctfpad/etherpad use ssl directly
  19. - CTFPAD_USE_HTTPS=false
  20. - CTFPAD_PROXY_USE_HTTPS=false
  21.  
  22. # default certificates are generated and put to
  23. # /data/{key,cert}.pem; change this if you e.g.
  24. # want to use let's encrypt certificates
  25. - CTFPAD_SSL_KEY_FILE=/data/key.pem
  26. - CTFPAD_SSL_CERT_FILE=/data/cert.pem
  27.  
  28. # authentication key for new signups
  29. - CTFPAD_AUTHKEY=ctfpad
  30.  
  31. # etherpad proxy port
  32. - ETHERPAD_PORT=4343
  33. # internal etherpad port; you may not change
  34. # this unless you really need to
  35. - ETHERPAD_INTERNAL_PORT=9001
  36.  
  37. # it's strongly recommended to use mysql or
  38. # mariadb for etherpad's data storage;
  39. # set credentials here
  40. - MYSQL_HOST=
  41. - MYSQL_USER=
  42. - MYSQL_PASSWORD=
  43.  
  44. volumes:
  45. - ./ctfpad_data:/data:z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement