refactor: userbots' compose-files cleanup

This commit is contained in:
2025-12-09 21:45:24 +01:00
parent ce66a546f1
commit a699ceb935
+2 -27
View File
@@ -1,9 +1,8 @@
services: services:
userbot_forust: forust:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: userbot_forust
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- .env - .env
@@ -16,11 +15,10 @@ services:
- 8.8.8.8 - 8.8.8.8
- 1.1.1.1 - 1.1.1.1
userbot_anna: anna:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: userbot_anna
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- .env - .env
@@ -32,26 +30,3 @@ services:
dns: dns:
- 8.8.8.8 - 8.8.8.8
- 1.1.1.1 - 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