Unverified Commit f211b1a8 authored by Julian Raufelder's avatar Julian Raufelder Committed by GitHub
Browse files

Provide the ability to preserve Tor key material across restarts (#18)



* Provide the ability to preserve Tor key material across restarts

* review: add keys volume by default with the right permissions

Co-authored-by: default avatarTom Moulard <tom.moulard@epita.fr>
parent 09330e4a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -999,6 +999,7 @@ services:
    restart: always
    volumes:
    - /etc/localtime:/etc/localtime:rw
    - /home/runner/work/make-my-server/make-my-server/tor-relay/keys:/var/lib/tor/.tor/keys:rw
  traefik:
    command:
    - --providers.docker

tor-relay/.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
keys/*
+1 −1
Original line number Diff line number Diff line
@@ -6,4 +6,4 @@ The Tor network relies on volunteers to donate bandwidth. The more people who
run relays, the better the Tor network will be. The current Tor network is
quite small compared to the number of people who need to use Tor, which means
we need more dedicated volunteers like you to run relays. By running a Tor
relay you can help make the Tor network:
relay you can help make the Tor network.
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ services:
      - 'RELAY_PORT=9001'
    volumes:
      - '/etc/localtime:/etc/localtime'
      - './tor-relay/keys:/var/lib/tor/.tor/keys/'
    networks:
      - 'srv'
    ports:
+0 −0

Empty file added.