Advertisement
y2kbug

Untitled

Jun 7th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. version: '3.3'
  2. services:
  3. squid:
  4. container_name: squid
  5. build: ./dockerfiles/ubuntu-squid/
  6. image: y2kbug/squid
  7. volumes:
  8. - type: bind
  9. source: ./
  10. target: /etc/squid/
  11. - type: bind
  12. source: /var/log/squid3
  13. target: /var/log/squid3
  14. ports:
  15. - 3128:3128
  16. - 3129:3129
  17. working_dir: /etc/squid/
  18. entrypoint: "service squid start"
  19. command: ["python3", "-u", "dummy.py"]
  20. restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement