docker-compose.yml 322 B

123456789101112131415161718
  1. version: '3'
  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. # https://docs.docker.com/compose/compose-file/