VisionApp/docker-compose.yml
Mathis e44349cea9
Some checks failed
CI / lint (push) Failing after 2s
CI / test (push) Failing after 1s
feat: initial project setup — Vision Studio bot
- Python 3.12 + discord.py
- Docker + docker-compose
- Forgejo Actions CI (lint + test)
- Cog system with /hello example
- deploy.sh for auto-deployment
2026-09-19 12:11:06 +02:00

33 lines
614 B
YAML

services:
vision:
build:
context: .
dockerfile: Dockerfile
container_name: vision-studio
restart: unless-stopped
env_file: .env
environment:
- VISION_INSTANCE=prod
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
- vision-data:/app/data
- vision-logs:/app/logs
deploy:
resources:
limits:
memory: 512M
cpus: "1.0"
reservations:
memory: 128M
cpus: "0.25"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
vision-data:
vision-logs: