Remove volume for Tor since keys are stored in secrets
This commit is contained in:
parent
ec3e8fae91
commit
0504e029b2
|
@ -43,7 +43,6 @@ services:
|
|||
version: 1-alpine
|
||||
|
||||
tor:
|
||||
volume: "{{ base_volume }}/tor"
|
||||
version: latest
|
||||
|
||||
watchtower:
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in a new issue