Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sm1ky authored Sep 4, 2024
1 parent 2d7402a commit 2723bd5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
networks:
monitor_network:
driver: bridge
internal: true
internal: false

services:
marzban-monitor:
Expand All @@ -14,12 +14,18 @@ services:
- monitor_network
volumes:
- .:/app
dns:
- 8.8.8.8
- 8.8.4.4

redis:
image: redis:latest
restart: unless-stopped
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
command: redis-server --requirepass ${REDIS_PASSWORD} --bind 0.0.0.0 --port ${REDIS_PORT} --databases ${REDIS_DB}
command: redis-server --requirepass ${REDIS_PASSWORD} --bind 0.0.0.0 --port ${REDIS_PORT}
networks:
- monitor_network
- monitor_network
dns:
- 8.8.8.8
- 8.8.4.4

0 comments on commit 2723bd5

Please sign in to comment.