tor updates
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
|||||||
#depends_on:
|
#depends_on:
|
||||||
# - nginx
|
# - nginx
|
||||||
volumes:
|
volumes:
|
||||||
- /home/docker/torrc:/etc/tor/torrc
|
- /home/docker/tor:/etc/tor/
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001 #ORPort
|
- 9001:9001 #ORPort
|
||||||
- 9030:9030 #DirPort
|
- 9030:9030 #DirPort
|
||||||
|
|||||||
@@ -46,9 +46,10 @@
|
|||||||
TimeoutStartSec=0
|
TimeoutStartSec=0
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
ExecStartPre=/usr/bin/docker pull osminogin/tor-simple
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/bin/docker run --rm --name tor -p 127.0.0.1:9050:9050 osminogin/tor-simple
|
WorkingDirectory=/home/docker
|
||||||
ExecStop=/usr/bin/docker stop tor
|
ExecStart=/usr/bin/docker compose -f docker-compose.yml up -d
|
||||||
|
ExecStop=/usr/bin/docker compose -f docker-compose.yml down
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user