mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 03:16:24 +00:00
Merge branch 'i2p' into main
This commit is contained in:
commit
131fa0fb99
@ -28,6 +28,8 @@ MARKET_PRICE_APIS = https://blockchain.info/ticker, https://api.yadio.io/exrates
|
|||||||
# Host e.g. robosats.com
|
# Host e.g. robosats.com
|
||||||
HOST_NAME = ''
|
HOST_NAME = ''
|
||||||
HOST_NAME2 = ''
|
HOST_NAME2 = ''
|
||||||
|
I2P_ALIAS = ''
|
||||||
|
I2P_LONG = ''
|
||||||
LOCAL_ALIAS = ''
|
LOCAL_ALIAS = ''
|
||||||
|
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -644,6 +644,9 @@ django
|
|||||||
# Postgres
|
# Postgres
|
||||||
db
|
db
|
||||||
|
|
||||||
|
# docker
|
||||||
|
docker/i2p
|
||||||
|
|
||||||
# robosats
|
# robosats
|
||||||
frontend/static/assets/avatars*
|
frontend/static/assets/avatars*
|
||||||
api/lightning/lightning*
|
api/lightning/lightning*
|
||||||
|
@ -90,6 +90,13 @@ services:
|
|||||||
- /mnt/development/lnd:/lnd
|
- /mnt/development/lnd:/lnd
|
||||||
network_mode: service:tor
|
network_mode: service:tor
|
||||||
|
|
||||||
|
i2p:
|
||||||
|
image: geti2p/i2p
|
||||||
|
container_name: i2p-dev
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- ./docker/i2p/i2pconfig:/i2p/.i2p
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
build: ./docker/tor
|
build: ./docker/tor
|
||||||
container_name: tor-dev
|
container_name: tor-dev
|
||||||
|
@ -39,6 +39,8 @@ AVATAR_ROOT = STATIC_ROOT + "assets/avatars/"
|
|||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
config("HOST_NAME"),
|
config("HOST_NAME"),
|
||||||
config("HOST_NAME2"),
|
config("HOST_NAME2"),
|
||||||
|
config("I2P_ALIAS"),
|
||||||
|
config("I2P_LONG"),
|
||||||
config("LOCAL_ALIAS"),
|
config("LOCAL_ALIAS"),
|
||||||
"127.0.0.1",
|
"127.0.0.1",
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user