Add userbot Docker Compose configuration for userbot_forust and userbot_anna services
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
services:
|
||||
userbot_forust:
|
||||
build:
|
||||
context: userbot/.
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: userbot_forust
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- userbot/.env
|
||||
- userbot/.env.forust
|
||||
- .env
|
||||
- .env.forust
|
||||
volumes:
|
||||
- ./userbot/volumes/data_forust:/app/data
|
||||
- ./userbot/Downloads:/app/downloads
|
||||
- ./userbot/volumes/logs_forust-:/app/logs
|
||||
- ./volumes/data_forust:/app/data
|
||||
- ./Downloads:/app/downloads
|
||||
- ./volumes/logs_forust-:/app/logs
|
||||
networks:
|
||||
- userbot_network
|
||||
dns:
|
||||
@@ -20,13 +20,13 @@ services:
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./userbot/modules
|
||||
path: modules
|
||||
target: /app/modules
|
||||
- action: sync
|
||||
path: ./userbot/utils
|
||||
path: utils
|
||||
target: /app/utils
|
||||
- action: sync
|
||||
path: ./userbot/main.py
|
||||
path: main.py
|
||||
target: /app/main.py
|
||||
- action: rebuild
|
||||
path: .env
|
||||
@@ -35,17 +35,17 @@ services:
|
||||
|
||||
userbot_anna:
|
||||
build:
|
||||
context: userbot/.
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: userbot_anna
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- userbot/.env
|
||||
- userbot/.env.anna
|
||||
- .env
|
||||
- .env.anna
|
||||
volumes:
|
||||
- ./userbot/volumes/data_anna:/app/data
|
||||
- ./userbot/Downloads:/app/downloads
|
||||
- ./userbot/volumes/logs_anna:/app/logs
|
||||
- ./volumes/data_anna:/app/data
|
||||
- ./Downloads:/app/downloads
|
||||
- ./volumes/logs_anna:/app/logs
|
||||
networks:
|
||||
- userbot_network
|
||||
dns:
|
||||
@@ -54,13 +54,13 @@ services:
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./userbot/modules
|
||||
path: modules
|
||||
target: /app/modules
|
||||
- action: sync
|
||||
path: ./userbot/utils
|
||||
path: utils
|
||||
target: /app/utils
|
||||
- action: sync
|
||||
path: ./userbot/main.py
|
||||
path: main.py
|
||||
target: /app/main.py
|
||||
- action: rebuild
|
||||
path: .env
|
||||
Reference in New Issue
Block a user