Update/rewrite docker files
This commit is contained in:
parent
47db0898e2
commit
92eb6c8ca1
10 changed files with 111 additions and 59 deletions
54
docker/docker-compose.yml
Normal file
54
docker/docker-compose.yml
Normal file
|
@ -0,0 +1,54 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
tor:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/tor.Dockerfile
|
||||
networks:
|
||||
- 0net-network
|
||||
environment: &tor-environments
|
||||
# since we are using tor internally, password doesn't really matter
|
||||
TOR_CONTROL_PASSWD: some_password
|
||||
TOR_SOCKS_PORT: 9050
|
||||
TOR_CONTROL_PORT: 9051
|
||||
|
||||
0net-conservancy:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/Dockerfile
|
||||
networks:
|
||||
- 0net-network
|
||||
volumes:
|
||||
# NOTE: this refers to docker/data..
|
||||
- ./data:/home/service-0net/data
|
||||
ports:
|
||||
- "26552:26552"
|
||||
- "43110:43110"
|
||||
depends_on:
|
||||
- tor
|
||||
environment:
|
||||
TOR_ENABLED: enable
|
||||
<<: *tor-environments
|
||||
|
||||
0net-tor:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/znctor.Dockerfile
|
||||
networks:
|
||||
- 0net-network
|
||||
volumes:
|
||||
# NOTE: this refers to docker/data..
|
||||
- ./data:/home/service-0net/data
|
||||
ports:
|
||||
- "26552:26552"
|
||||
- "43110:43110"
|
||||
|
||||
networks:
|
||||
0net-network:
|
Loading…
Add table
Add a link
Reference in a new issue