Move userbot Docker Compose configuration for forust and anna services
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
services:
|
||||
userbot_forust:
|
||||
build:
|
||||
context: userbot/.
|
||||
dockerfile: Dockerfile
|
||||
container_name: userbot_forust
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- .env.forust
|
||||
volumes:
|
||||
- ./userbot/volumes/data_forust:/app/data
|
||||
- ./userbot/Downloads:/app/downloads
|
||||
- ./userbot/volumes/logs_forust:/app/logs
|
||||
networks:
|
||||
- userbot_network
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./userbot/modules
|
||||
target: /app/modules
|
||||
- action: sync
|
||||
path: ./userbot/utils
|
||||
target: /app/utils
|
||||
- action: sync
|
||||
path: ./userbot/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:
|
||||
- ./userbot/volumes/data_anna:/app/data
|
||||
- ./userbot/Downloads:/app/downloads
|
||||
- ./userbot/volumes/logs_anna:/app/logs
|
||||
networks:
|
||||
- userbot_network
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./userbot/modules
|
||||
target: /app/modules
|
||||
- action: sync
|
||||
path: ./userbot/utils
|
||||
target: /app/utils
|
||||
- action: sync
|
||||
path: ./userbot/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