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'