Add userbot Docker Compose configuration for userbot_forust and userbot_anna services

This commit is contained in:
2025-11-13 00:17:26 +01:00
parent 6370ad4cb2
commit 9688ea3e7d
@@ -1,17 +1,17 @@
services: services:
userbot_forust: userbot_forust:
build: build:
context: userbot/. context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: userbot_forust container_name: userbot_forust
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- userbot/.env - .env
- userbot/.env.forust - .env.forust
volumes: volumes:
- ./userbot/volumes/data_forust:/app/data - ./volumes/data_forust:/app/data
- ./userbot/Downloads:/app/downloads - ./Downloads:/app/downloads
- ./userbot/volumes/logs_forust-:/app/logs - ./volumes/logs_forust-:/app/logs
networks: networks:
- userbot_network - userbot_network
dns: dns:
@@ -20,13 +20,13 @@ services:
develop: develop:
watch: watch:
- action: sync - action: sync
path: ./userbot/modules path: modules
target: /app/modules target: /app/modules
- action: sync - action: sync
path: ./userbot/utils path: utils
target: /app/utils target: /app/utils
- action: sync - action: sync
path: ./userbot/main.py path: main.py
target: /app/main.py target: /app/main.py
- action: rebuild - action: rebuild
path: .env path: .env
@@ -35,17 +35,17 @@ services:
userbot_anna: userbot_anna:
build: build:
context: userbot/. context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: userbot_anna container_name: userbot_anna
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- userbot/.env - .env
- userbot/.env.anna - .env.anna
volumes: volumes:
- ./userbot/volumes/data_anna:/app/data - ./volumes/data_anna:/app/data
- ./userbot/Downloads:/app/downloads - ./Downloads:/app/downloads
- ./userbot/volumes/logs_anna:/app/logs - ./volumes/logs_anna:/app/logs
networks: networks:
- userbot_network - userbot_network
dns: dns:
@@ -54,13 +54,13 @@ services:
develop: develop:
watch: watch:
- action: sync - action: sync
path: ./userbot/modules path: modules
target: /app/modules target: /app/modules
- action: sync - action: sync
path: ./userbot/utils path: utils
target: /app/utils target: /app/utils
- action: sync - action: sync
path: ./userbot/main.py path: main.py
target: /app/main.py target: /app/main.py
- action: rebuild - action: rebuild
path: .env path: .env