docker-compose.yml 322 B

123456789101112131415
  1. version: '2.2'
  2. services:
  3. tor_proxy:
  4. build: .
  5. image: fphammerle/tor-proxy
  6. ports:
  7. - '127.0.0.1:9050:9050/tcp'
  8. - '127.0.0.1:53:53/udp'
  9. security_opt: ['no-new-privileges']
  10. restart: unless-stopped
  11. cpus: 0.5
  12. mem_limit: 128m
  13. # https://docs.docker.com/compose/compose-file/compose-file-v2/