Browse Source

tor v0.3.3.7 -> v0.3.5.8; added sample ansible playbook; added changelog

https://github.com/fphammerle/docker-tor-obfs4-bridge/commit/70bca773483019c78b19d46702d9dfccd3a319a7
https://github.com/fphammerle/docker-tor-obfs4-bridge/blob/c6b283cc9cba0cf5929650a3dc4cc67aca5ef957/ansible-playbook.yml
Fabian Peter Hammerle 5 days ago
parent
commit
9f2882b48c
3 changed files with 46 additions and 2 deletions
  1. 29 0
      CHANGELOG.md
  2. 2 2
      Dockerfile
  3. 15 0
      ansible-playbook.yml

+ 29 - 0
CHANGELOG.md

@@ -0,0 +1,29 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+### Changed
+- tor v0.3.3.7 -> v0.3.5.8
+
+### Added
+- sample ansible playbook
+- sample `docker-compose.yml`
+
+### Fixes
+- split `COPY --chown` into `COPY` & `RUN chmod`
+  to improve backward compatibility
+
+## 0.2 - 2019-01-03
+### Changed
+- create v3 service (previously v2)
+
+### Added
+- option to create v2 service by setting `$VERSION`
+  (`docker run -e VERSION=2 …`)
+
+## 0.1 - 2018-12-27
+
+[Unreleased]: https://github.com/fphammerle/docker-onion-service/compare/0.2-tor0.3.3.7-amd64...HEAD

+ 2 - 2
Dockerfile

@@ -1,6 +1,6 @@
-FROM alpine:3.8
+FROM alpine:3.10
 
-RUN apk add --no-cache tor
+RUN apk add --no-cache tor=~0.3.5.8
 
 RUN adduser -S onion
 RUN mkdir -m u=rwx,g=,o= /onion-service && chown onion /onion-service

+ 15 - 0
ansible-playbook.yml

@@ -0,0 +1,15 @@
+- hosts: [some-host]
+  become: true
+  tasks:
+  - docker_volume:
+      name: onion_service_key
+  - docker_container:
+      name: onion_service
+      # 0.2-tor0.3.3.7-amd64
+      image: fphammerle/onion-service@sha256:51b5ee67fea1587421fd3dd982cc58f7554b68fe051d316d6d120e560675d2b8
+      env:
+        VIRTUAL_PORT: 80
+        TARGET: 1.2.3.4:8080
+      volumes: ['onion_service_key:/onion-service']
+      memory: 128M
+      restart_policy: unless-stopped