version: '3' services: tor: build: . image: fphammerle/tor-test ports: ['127.0.0.1:9050:9050'] security_opt: [no-new-privileges] # https://docs.docker.com/compose/compose-file/compose-file-v3/