Remove volume for Tor since keys are stored in secrets

This commit is contained in:
Sam A. 2023-04-22 18:51:15 +02:00
parent ec3e8fae91
commit 0504e029b2
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 0 additions and 11 deletions

View file

@ -43,7 +43,6 @@ services:
version: 1-alpine
tor:
volume: "{{ base_volume }}/tor"
version: latest
watchtower:

View file

@ -1,13 +1,5 @@
# vim: ft=yaml.ansible
---
- name: Create Tor volume directory
ansible.builtin.file:
path: "{{ services.tor.volume }}"
owner: '104'
group: '107'
mode: u=rwx,go=
state: directory
- name: Deploy Tor Docker container
community.docker.docker_container:
name: tor
@ -38,5 +30,3 @@
SIMPLEXMQ_TOR_SERVICE_KEY: "{{ secrets.tor.simplexmq_key }}"
networks:
- name: tor
volumes:
- "{{ services.tor.volume }}:/var/lib/tor/hidden_service:rw"