docker: Use static ip for tor container.

This commit is contained in:
tecnovert committed 2022-03-27 11:32:29 +02:00
1 parent a5b192b931
commit 6b063d0582
3 files changed
+26 -14

No files matched your search

+10 -3
View File
@@ -19,6 +19,8 @@ services:
options:
max-size: "10m"
max-file: "5"
networks:
- tor_net
tor:
image: i_tor
@@ -33,12 +35,17 @@ services:
options:
max-size: "10m"
max-file: "5"
networks:
tor_net:
ipv4_address: 172.16.238.200
volumes:
coindata:
driver: local
networks:
default:
external:
name: coinswap_network
tor_net:
ipam:
driver: default
config:
- subnet: "172.16.238.0/24"