24 lines
544 B
YAML
24 lines
544 B
YAML
services:
|
|
bot:
|
|
image: mpakoimageaibot:latest
|
|
build: .
|
|
env_file: .env
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- ./storage:/app/storage
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|
|
|
|
web:
|
|
image: mpakoimageaibot:latest
|
|
build: .
|
|
command: ["uvicorn", "web:app", "--host", "0.0.0.0", "--port", "8080"]
|
|
env_file: .env
|
|
ports:
|
|
- "${WEB_BIND_IP:-127.0.0.1}:8099:8080"
|
|
volumes:
|
|
- ./storage:/app/storage
|
|
- ./data:/app/data
|
|
restart: unless-stopped
|