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