Skip to content

Commit

Permalink
Update Channels
Browse files Browse the repository at this point in the history
  • Loading branch information
NOXCIS committed Nov 13, 2023
1 parent 6a03378 commit 13cd7ae
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Channels/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ coverage
dnspython
email-validator
eventlet==0.33.3
Flask==2.3.2
Flask==2.3.3
Flask-Bcrypt
Flask-Login
flask-marshmallow
Flask-SocketIO
Flask-SQLAlchemy
Flask-SQLAlchemy==3.1.1
Flask-WTF
greenlet
idna
Expand All @@ -29,7 +29,7 @@ mypy-extensions
packaging
Pillow
pluggy
psycopg2
psycopg2==2.9.9
pycparser
pyparsing
pytest
Expand All @@ -43,6 +43,6 @@ typed-ast
typing-extensions
urllib3
wcwidth
Werkzeug==2.3.6
Werkzeug==3.0.1
wheel
WTForms
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.4
dns: 10.2.0.100


db:
Expand All @@ -83,6 +84,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.5
dns: 10.2.0.100

volumes:
postgres_data:
8 changes: 6 additions & 2 deletions Global-Configs/Docker-Compose/adguard-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ networks:
config:
- subnet: 10.2.0.0/24



services:
unbound:
image: "klutchell/unbound:latest"
Expand Down Expand Up @@ -67,8 +69,8 @@ services:
channels:
depends_on: [db, wg_dashboard]
container_name: channels_messenger
#build: ./Channels
image: noxcis/channels:marlin
build: ./Channels
#image: noxcis/channels:marlin
restart: unless-stopped
command: python run.py
environment:
Expand All @@ -83,6 +85,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.4
dns: 10.2.0.100


db:
Expand All @@ -98,6 +101,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.5
dns: 10.2.0.100

volumes:
postgres_data:
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.4

dns: 10.2.0.100

db:
container_name: channels_db
Expand All @@ -90,6 +90,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.5
dns: 10.2.0.100

volumes:
postgres_data:
4 changes: 2 additions & 2 deletions Global-Configs/Docker-Compose/pihole-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.4

dns: 10.2.0.100

db:
container_name: channels_db
Expand All @@ -107,6 +107,6 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.5

dns: 10.2.0.100
volumes:
postgres_data:
4 changes: 2 additions & 2 deletions adguard/opt-adguard-conf/AdGuardHome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ http:
address: 0.0.0.0:80
session_ttl: 720h
users:
- name: whimsical_kooky_381
password: $2y$05$v1ayLbQkarj.xw8BTf9pgOLewJFBZVLkGiT3hyAet3KMHezOm/YCq
- name: zany_quirky_107
password: $2y$05$Z8EcnrKoEfRtFbYPPkPInetcZyeugsGpCPOnrnJLzmxu1MNnxOeUi
auth_attempts: 5
block_auth_min: 15
http_proxy: ""
Expand Down
8 changes: 8 additions & 0 deletions dev-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ networks:
driver: default
config:
- subnet: 10.2.0.0/24
driver_opts:
com.docker.network.bridge.name: private_network_bridge
com.docker.network.bridge.enable_icc: "true"
com.docker.network.bridge.enable_ip_masquerade: "true"
com.docker.network.bridge.host_binding_ipv4: "0.0.0.0"
dns:
- 8.8.8.8
- 8.8.4.4

services:
unbound:
Expand Down
12 changes: 8 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ networks:
config:
- subnet: 10.2.0.0/24



services:
unbound:
image: "klutchell/unbound:latest"
Expand All @@ -21,8 +23,8 @@ services:

wg_dashboard:
depends_on: [unbound, adguard]
build: ./WG-Dash
#image: noxcis/wg-dashboard:orca
#build: ./WG-Dash
image: noxcis/wg-dashboard:marlin
container_name: wg_dashboard
cap_add:
- NET_ADMIN
Expand Down Expand Up @@ -67,8 +69,8 @@ services:
channels:
depends_on: [db, wg_dashboard]
container_name: channels_messenger
#build: ./Channels
image: noxcis/channels:orca
build: ./Channels
#image: noxcis/channels:marlin
restart: unless-stopped
command: python run.py
environment:
Expand All @@ -83,6 +85,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.4
dns: 10.2.0.100


db:
Expand All @@ -98,6 +101,7 @@ services:
networks:
private_network:
ipv4_address: 10.2.0.5
dns: 10.2.0.100

volumes:
postgres_data:
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export TIMER_VALUE=0
local yml_file="docker-compose.yml"
local port_mappings="770-777:770-777/udp"
export PORT_MAPPINGS="$port_mappings"

docker compose down --volumes --remove-orphans
# Check if the 'docker' command is available

REQUIRED_PACKAGES=(
Expand Down

0 comments on commit 13cd7ae

Please sign in to comment.