Guest User

Untitled

a guest
Sep 11th, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. version: '3'
  2. services:
  3. zero_chan_dev:
  4. container_name: zero_chan_dev
  5. build:
  6. context: .
  7. dockerfile: ./Dockerfile
  8. ports:
  9. - "8080:80"
  10. volumes:
  11. - ./zerochplus_0.7.5/test:/usr/local/apache2/htdocs/test
  12. command: >
  13. bash -c "chmod 707 /usr/local/apache2/htdocs/ && chmod 705 /usr/local/apache2/htdocs/test && \
  14. find /usr/local/apache2/htdocs/test -maxdepth 1 -name *.cgi | xargs chmod 705 && \
  15. find /usr/local/apache2/htdocs/test -name *.pl | xargs chmod 604 && \
  16. find /usr/local/apache2/htdocs/test -name index.html | xargs chmod 600 && \
  17. chmod 705 /usr/local/apache2/htdocs/test/datas /usr/local/apache2/htdocs/test/module /usr/local/apache2/htdocs/test/mordor /usr/local/apache2/htdocs/test/plugin /usr/local/apache2/htdocs/test/perllib && \
  18. find /usr/local/apache2/htdocs/test/perllib -type d | xargs chmod 705 && \
  19. chmod 707 /usr/local/apache2/htdocs/test/info /usr/local/apache2/htdocs/test/info/.session /usr/local/apache2/htdocs/test/plugin_conf && \
  20. httpd-foreground"
  21.  
Advertisement
Add Comment
Please, Sign In to add comment