docker-compose.yml 358 B

1234567891011121314151617181920
  1. version: '2.2'
  2. volumes:
  3. key:
  4. services:
  5. onion:
  6. build: .
  7. image: fphammerle/onion-service
  8. volumes:
  9. - key:/onion-service:rw
  10. environment:
  11. VIRTUAL_PORT: 80
  12. TARGET: 1.2.3.4:8080
  13. security_opt: [no-new-privileges]
  14. restart: unless-stopped
  15. cpus: 0.5
  16. mem_limit: 128m
  17. # https://docs.docker.com/compose/compose-file/