Files
botmafieux/compose.yaml
Mathéo 'Nebulo9' DESSAUVAGES 8cbb77be3c
Some checks failed
CI / Run tests (pull_request) Has been cancelled
feat: Reimplement the deployment process through Docker
2026-09-20 00:33:10 +02:00

38 lines
701 B
YAML

networks:
internal:
internal: true
outbound:
external: true
services:
botmafieux:
build:
context: .
dockerfile: Dockerfile
image: nebulo9/botmafieux:latest
container_name: botmafieux
restart: unless-stopped
networks:
- internal
- outbound
env_file:
- ./.env
volumes:
- ./config:/config
healthcheck:
test: ["CMD", "pgrep", "-f", "main.py"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
deploy:
resources:
limits:
cpus: '0.25'
memory: '256M'