Add userbot Docker Compose configuration for userbot_forust and userbot_anna services
This commit is contained in:
1 parent
1c7afe5bb3
commit
5f8fd05266
1 file changed
+76
@@ -0,0 +1,76 @@
|
|||||||
|
services:
|
||||||
|
userbot_forust:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
container_name: userbot_forust
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
- .env.forust
|
||||||
|
volumes:
|
||||||
|
- ./volumes/data_forust:/app/data
|
||||||
|
- ./Downloads:/app/downloads
|
||||||
|
- ./volumes/logs_forust-:/app/logs
|
||||||
|
networks:
|
||||||
|
- userbot_network
|
||||||
|
dns:
|
||||||
|
- 8.8.8.8
|
||||||
|
- 1.1.1.1
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: modules
|
||||||
|
target: /app/modules
|
||||||
|
- action: sync
|
||||||
|
path: utils
|
||||||
|
target: /app/utils
|
||||||
|
- action: sync
|
||||||
|
path: main.py
|
||||||
|
target: /app/main.py
|
||||||
|
- action: rebuild
|
||||||
|
path: .env
|
||||||
|
- action: rebuild
|
||||||
|
path: .env.forust
|
||||||
|
|
||||||
|
userbot_anna:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
container_name: userbot_anna
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
- .env.anna
|
||||||
|
volumes:
|
||||||
|
- ./volumes/data_anna:/app/data
|
||||||
|
- ./Downloads:/app/downloads
|
||||||
|
- ./volumes/logs_anna:/app/logs
|
||||||
|
networks:
|
||||||
|
- userbot_network
|
||||||
|
dns:
|
||||||
|
- 8.8.8.8
|
||||||
|
- 1.1.1.1
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: modules
|
||||||
|
target: /app/modules
|
||||||
|
- action: sync
|
||||||
|
path: utils
|
||||||
|
target: /app/utils
|
||||||
|
- action: sync
|
||||||
|
path: main.py
|
||||||
|
target: /app/main.py
|
||||||
|
- action: rebuild
|
||||||
|
path: .env
|
||||||
|
- action: rebuild
|
||||||
|
path: .env.anna
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
downloads:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
userbot_network:
|
||||||
|
driver: bridge
|
||||||
Reference in new issue
Block a user