changing from v2 to v3 for compatibility

This commit is contained in:
antitree 2019-01-11 17:01:55 -05:00
parent e38f5c94ad
commit 7870cd5b5e

View File

@ -1,10 +1,10 @@
version: '2' version: '3'
services: services:
da1: da1:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "7000" # - "7000"
- "9030" # - "9030"
environment: environment:
ROLE: DA ROLE: DA
volumes: volumes:
@ -12,9 +12,9 @@ services:
- ./tor:/tor - ./tor:/tor
da2: da2:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "7000" # - "7000"
- "9030" # - "9030"
environment: environment:
ROLE: DA ROLE: DA
volumes: volumes:
@ -22,9 +22,9 @@ services:
- ./tor:/tor - ./tor:/tor
da3: da3:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "7000" # - "7000"
- "9030" # - "9030"
environment: environment:
ROLE: DA ROLE: DA
volumes: volumes:
@ -32,9 +32,9 @@ services:
- ./tor:/tor - ./tor:/tor
relay: relay:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "7000" # - "7000"
- "9030" # - "9030"
environment: environment:
ROLE: RELAY ROLE: RELAY
volumes: volumes:
@ -46,9 +46,9 @@ services:
- da3 - da3
exit: exit:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "7000" # - "7000"
- "9030" # - "9030"
environment: environment:
ROLE: EXIT ROLE: EXIT
volumes: volumes:
@ -74,8 +74,8 @@ services:
- da3 - da3
hs: hs:
image: antitree/private-tor image: antitree/private-tor
expose: #expose:
- "80" # - "80"
environment: environment:
ROLE: HS ROLE: HS
# This will create a hidden service that points to # This will create a hidden service that points to
@ -93,7 +93,7 @@ services:
- web - web
web: web:
image: nginx image: nginx
expose: #expose:
- "80" # - "80"