Skip to content

Commit

Permalink
Fix containers
Browse files Browse the repository at this point in the history
  • Loading branch information
atao committed Jun 18, 2024
1 parent 4585f5e commit f7cd1a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions roles/containers/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,19 @@
- name: Run rotating Tor HTTP proxy container
become: true
become_user: root
docker_container:
community.docker.docker_container:
name: rotating-tor-http-proxy
image: zhaowde/rotating-tor-http-proxy
state: started
recreate: false
detach: true
restart_policy: "always"
ports:
- "3128:3128"
- "4444:4444"
env:
TOR_INSTANCES: "5"
TOR_REBUILD_INTERVAL: "3600"
restart_policy: always
tags: proxy

- name: Get list of containers
Expand Down

0 comments on commit f7cd1a8

Please sign in to comment.